DSA Lab Syllabus
DSA Lab Syllabus
Home
Second Year Information Technology (2019 Course)
214447: Data Structure & Algorithms Lab
Teaching Scheme: Credit Scheme: Examination Scheme:
PR : 25 Marks
Practical (PR) : 04 hrs/week 02
TW: 25 Marks
Prerequisite Courses, if any: Fundamental knowledge of programming language and basics of
algorithms
Course Objectives:
1. To study data structures and their implementations and applications.
2. To learn different searching and sorting techniques.
3. To study some advanced data structures such as trees, graphs and tables.
4. To learn different file organizations.
5. To learn algorithm development and analysis of algorithms.
Course Outcomes:
On completion of the course, students will be able to–
CO1: Analyze algorithms and to determine algorithm correctness and time efficiency class.
CO2: Implement abstract data type (ADT) and data structures for given application.
CO3: Design algorithms based on techniques like brute -force, divide and conquer, greedy, etc.).
CO4: Solve problems using algorithmic design techniques and data structures.
CO5: Analyze of algorithms with respect to time and space complexity.
The faculty member should prepare the laboratory manual for all the experiments and it should be
made available to students and laboratory instructor/Assistant.
The instructor's manual should include prologue, university syllabus, conduction & Assessment
guidelines, topics under consideration-concept, objectives, outcomes, algorithm written in pseudo
language, sample test cases and references. Experiments to be conducted in C++.
Virtual Laboratory
• https://ds1-iiith.vlabs.ac.in/data-structures-1/
• https://ds2-iiith.vlabs.ac.in/data-structures-2/
• http://cse01-iiith.vlabs.ac.in/
1. Searching and Sorting -- CO1, CO2, CO3, CO5
Consider a student database of SEIT class (at least 15 records). Database contains different fields of
every student like Roll No, Name and SGPA.(array of structure)
a) Design a roll call list, arrange list of students according to roll numbers in ascending order (Use
Bubble Sort)
b) Arrange list of students alphabetically. (Use Insertion sort)
c) Arrange list of students to find out first ten toppers from a class. (Use Quick sort)
d) Search students according to SGPA. If more than one student having same SGPA, then print list
of all students having same SGPA.
e) Search a particular student according to name using binary search without recursion. (all the
student records having the presence of search key should be displayed)
(Note: Implement either Bubble sort or Insertion Sort.)
2. Stack -- CO1, CO2, CO3, CO5
Implement stack as an abstract data type using singly linked list and use this ADT for conversion of
infix expression to postfix, prefix and evaluation of postfix and prefix expression.