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]-246
Printed for: S.E. (Computer Science and Engineering/Data Science)
Instructions to the candidates
- Attempt Q.1, or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8 and Q.9 or Q.10.
- Neat diagrams must be drawn wherever necessary.
- Figures to the right side indicate full marks.
- Assume Suitable data if necessary.
Questions
Q1
- a)[5]
What is frequency count? Why is frequency count important in the analysis of algorithm.
- b)[5]
What is meant by time and space complexity? Explain the asymptotic notations used for time complexity?
- c)[4]
Explain what is Linear and non-linear data structure with example.
OR- a)
Q2
- a)[5]
What is meant by sparse Matrix? Write an algorithm to perform addition of two sparse matrices.
- b)[5]
Explain divide & conquer Strategy and Greedy strategy with suitable example.
- c)[4]
Explain what is static and dynamic data structure.
- a)
Q3
- a)[7]
Explain binary search algorithm with the given example: Search no: 23 and 100. 9,17,23,40,45,52,58,80,85,95,100
- b)[7]
Write a short note on sentinel search & Index sequential search with suitable example.
OR- a)
Q4
- a)[7]
Explain selection sort with the algorithm. Sort the following numbers using selection sort and show the content of array after every pass. 27,76,17,9,45,58,90,79,100.
- b)[7]
Explain quick sort algorithm with suitable example. What is time complexity of quick sort algorithm. P.T.O. SPPU QUESTION PAPER www.mysppu.in Page 1 MySPPU · Data Structures & Algorithms Page 1 of 2 2
- a)
Q5
- a)[7]
Write a pseudo code for basic operation of stack.
- b)[7]
What is circular queue? Explain the advantages of circular queue area linear queue.
OR- a)
Q6
- a)[7]
What is need to convert the infix expression into postfix; convert the following expression into postfix expression (a+b) * d + e/(f + a*d) + c.
- b)[7]
Explain array implementation of priority queue with all basic operations.
- a)
Q7
- a)[7]
Describe binary search tree deletion with example.
- b)[7]
Differentiate between tree and graph .
OR- a)
Q8
- a)[7]
Explain how to convert general tree to binary tree with example.
- b)[7]
Write Floyd Warshall Algortihm.
- a)
Q9
- a)[7]
What is hashing? Explain the properties of good hash function with examples.
- b)[7]
Differentiate between Sequential file and index sequential file.
OR- a)
Q10
- a)[7]
Insert the following data in the hash table of size 10 using linear probing with chaining by applying with replacement : 11, 33, 20, 88,79; 98, 68, 44, 66, 24. Calculate average number of comparisons required to search given data from hash table.
- b)[7]
Explain Sequential and Direct Access file organization. Also list out advantages and disadvantages of the same. ♦♦♦ SPPU QUESTION PAPER www.mysppu.in Page 2 MySPPU · Data Structures & Algorithms Page 2 of 2
- a)