Data Structures & Algorithms (DSA) SPPU Endsem Question Paper Oct 2025
All 10 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Pattern
- 2024 pattern
- Exam
- Endsem
- Session
- Oct 2025
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- III
- Paper code
- [6582]-273
Printed for: S.E. (E &T.C./Electronics /Electronics Engineering
Instructions to the candidates
- Solve Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8, Q.9 and Q.10.
- Figures to the right indicates full marks.
Questions
Q1
- a)[8]
Explain asymptotic notations Big O, Big Big . Illustrate each with an example.
- b)[6]
Perform insertion sort on the following list and show all passes: 45, 12, 35, 2, 19
OR- a)
Q2
- a)[6]
What are the different types of sorting techniques? Analyse and explain their worst case time complexity?
- b)[8]
This part has equations that don’t show as text. Open the PDF to read it.
- a)
Q3
- a)[8]
Convert the infix expression (A + B*C) / (D – E/F^G) to postfix, showing stack contents stepwise.
- b)[6]
Compare linear queue, circular queue, and priority queue.
OR- a)
Q4
- a)[8]
Write a C function to implement circular queue using array. Demonstrate one enqueue and one dequeue operation through code.
- b)[6]
Write a ‘C’ Function to PUSH and POP elements from a stack of integers using an array. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Data Structures & Algorithms Page 1 of 3 2
- a)
Q5
- a)[5]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[5]
Write structure definition for Singly Linked List. Differentiate between static memory and dynamic memory allocation.
- c)[4]
Define pointer. How are pointers useful in linked list operations?
OR- a)
Q6
- a)[6]
Explain working of malloc(), calloc() and realloc() in dynamic memory allocation.
- b)[8]
Write a C function to delete a node at a given position in a doubly linked list. Give any four advantages of linked lists over arrays.
- a)
Q7
- a)[8]
Construct a Binary Search Tree (BST) using: 40, 22, 10, 30, 50, 45, 60, 55 Show inorder traversal and check if tree is balanced.
- b)[6]
Explain all four AVL rotations using diagrams. Construct AVL tree from sequence: 32, 16, 48, 8, 24, 40, 56, 20
OR- a)
Q8
- a)[8]
This part has equations that don’t show as text. Open the PDF to read it.
- b)[6]
Define binary tree. Explain following terms with suitable Examples: i) Root node ii) Left and right sub tree iii) Depth of tree
- a)
Q9
- a)[6]
Represent the following graph using adjacency matrix and adjacency list.
- b)[4]
What is spanning tree? Define minimum spanning tree.
- c)[4]
Define simple graph, directed graph and weighted graph with suitable diagrams. OR SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures & Algorithms Page 2 of 3 3
- a)
Q10
- a)[8]
Find out Minimum spanning Tree of the following graph using Kruskal’s algorithm.
- b)[6]
Find the shortest path from node ‘a’ to all nodes in the graph shown below using Dijkstra’s algorithm. eeee SPPU QUESTION PAPER www.mysppu.in Page 3 MySPPU · Data Structures & Algorithms Page 3 of 3
- a)