5. Data Structure Lab
5. Data Structure Lab
24CSP36
LABORATORY ESC 0 0 2 1
PREREQUISITE: Basic understanding of mathematical concepts like recursion, combinatorics, and complexity
analysis. Familiarity with problem-solving techniques and algorithmic thinking is essential. Logical reasoning and
analytical skills will help in developing efficient computational solutions.
OBJECTIVES:
1. To learn to implement various linked list operations for dynamic data management.
2. To gain knowledge of stack and queue data structures for expression evaluation and efficient data
processing.
3. To explore tree and graph traversal techniques for effective data organization and retrieval.
4. To use algorithmic approaches to solve pathfinding and optimization problems with shortest path and MST
algorithms.
5. To Compare and analyze different sorting techniques for efficient data arrangement.
List of Experiments:
1. Apply linked list (Single, Double and Circular) operations to manage a dynamic collection of data with
2. Develop a program for polynomial manipulation using linked lists to perform addition and multiplication.
3. Demonstrate stack operations using both arrays and linked lists for efficient data handling.
4. Use a binary search tree (BST) to store and retrieve data efficiently by applying insertion, deletion, and
search operations.
5. Convert an infix expression into postfix and evaluate it using stack-based operations.
6. Apply tree traversal techniques (preorder, inorder, postorder) to navigate a binary tree.
7. Implement graph traversal algorithms (DFS & BFS) to explore and analyze connectivity in a graph.
8. Solve the shortest path problem using Dijkstra’s algorithm on a weighted graph.
9. Apply Prim’s algorithm to construct the Minimum Spanning Tree (MST) of a graph.
TOTAL: 45 PERIODS
COURSE OUTCOMES:
At the end of the course, the students will be able to:
COs Course Outcome Cognitive Level
Apply linked list operations (Single, Double, Circular) for data organization
CO1 Apply
and manipulation.
Develop stack and queue-based solutions for expression evaluation and real-
CO2 Apply
time applications.
Implement tree and graph traversal algorithms to solve computational
CO3 Apply
problems.
Utilize graph algorithms like Dijkstra’s and Prim’s to find optimal solutions
CO4 Apply
for network problems.
Demonstrate the efficiency of different sorting algorithms in organizing and
CO5 Apply
managing data.