Data Structures (DS) SPPU Endsem Question Paper Oct 2025 (paper 2)
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]-236
Printed for: S.E. (Computer Engineering/Computer Science and Engineering)
Instructions to the candidates
- Answer Q1 or Q2, Q3 or Q4, Q5 or Q6, Q7 or Q8, Q9 or Q10.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right indicate full marks.
- Use of electronic pocket calculator is allowed.
- Assume suitable data, if necessary.
Questions
Q1
- a)[6]
Explain different Asymptotic notations with graph of order of growth.
- b)[8]
Define ADT and Explain Types of Data structures Compare Linear and Non-linear Data Structures.
OR- a)
Q2
- a)[6]
Compare Static and Dynamic Data Structures. Discuss the significance of Persistent and Ephemeral Data Structures.
- b)[8]
Apply step count method to evaluate time complexity of the following python code def oddEven (n=100): for num in range (1, n): if num % 2 ==0: print (num, ‘is Even’) else: print (num, ‘is Odd’) Justify that the above algorithm is having linear, non-linear, quadratic time complexity. List various Algorithmic Strategies and explain any one with suitable example. P.T.O. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Data Structures Page 1 of 4 2
- a)
Q3
- a)[6]
Define the terms i) Sparse Matrix ii) Sorting Stability iii) Internal and External Sort
- b)[8]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q4
- a)[6]
Define ADT for Arrays and discuss at least 4 operations that are performed on arrays.
- b)[8]
Explain Bubble sort algorithm and sort the given list using bubble sort: 7, 4, 10, 6, 3, 12, 1, 8, 2, 15 Enlist the number of passes required to complete the sort.
- a)
Q5
- a)[6]
Explain with neat diagram: i) SLL ii) DLL iii) CLL
- b)[8]
Explain Stack as an ADT and Convert the infix expressions (A+B)*D+E/(F+A*D)+C into postfix representation using stack, Show the status after every step in tabular form. OR SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures Page 2 of 4 3
- a)
Q6
- a)[6]
Define and Draw diagram for i) Queue ii) Circular Queue iii) Dequeue
- b)[8]
Write a pseudo code for Stack implementation using Linked List for the following operations i) Create ii) Push iii) Pop iv) Display
- a)
Q7
- a)[6]
Explain characteristics of Good Hash function and Explain any four types of Hash Functions.
- b)[8]
Represent the following key in memory using Linear probing without replacement. Use modulo 10 as your hashing function. 24, 13, 16, 15, 19, 20, 22, 14, 17, 26 Estimate average search time for any element in Hash Table.
OR- a)
Q8
- a)[6]
Write a short note on any three hashing techniques.
- b)[8]
Given the Inputs: 4371, 1323, 6173, 4199, 4344, 9679, 1989} Hash table size = 10 and Hash function = key mod 10. Show the results for the following: i) Open addressing hash table using Linear Probing ii) Open addressing hash table using Quadratic Probing SPPU QUESTION PAPER www.mysppu.in Page 3 MySPPU · Data Structures Page 3 of 4 4
- a)
Q9
- a)[6]
Compare Tree and Graph, Enlist at least two real time applications of each.
- b)[8]
Write Prime’s algorithm and apply it on given graph to find Minimum Spanning Tree. Estimate the cost of MST
OR- a)
Q10
- a)[6]
Apply Tree traversal techniques and find in-order, pre-order and post-order traversal sequence of given binary tree.
- b)[8]
Write Kruskal’s algorithm and apply it on given graph to find Minimum Spanning Tree. Estimate the cost of MST SPPU QUESTION PAPER www.mysppu.in Page 4 MySPPU · Data Structures Page 4 of 4
Also asked:Oct 2025
- a)