Data Structures & Algorithms (DSA) SPPU Endsem Question Paper May 2024
All 8 questions from this SPPU endsem paper, as printed. Read them here or open the PDF.
- Subject code
- 210252
- Pattern
- 2019 pattern
- Exam
- Endsem
- Session
- May 2024
- Max. marks
- 70
- Time
- 2½ Hours
- Semester
- IV
- Paper code
- [6261]-36
Printed for: S.E. (Computer Engineering/Artificial Intelligence & Data
Instructions to the candidates
- Answer to the questions Q. No. 1 or Q. No. 2, Q. No. 3 or Q. No. 4, Q. No. 5 or Q. No. 6, Q. No. 7 or Q. No. 8.
- Draw neat labelled diagrams wherever necessary.
- Figures to the right indicate full marks.
- Assume suitable data, if necessary.
Questions
Q1
- a)[6]
Elaborate following terminologies : i) Graph ii) Adjacency List iii) Adjacency Matrix
- b)[6]
Differentiate between tree and graph.
- c)[6]
Write pseudo code for Floyd-Warshall algorithm.
OR- a)
Q2
- a)[6]
Find the shortest path using Dijkstra’s algorithm. Write all the sequence of steps used in algorithms.
- b)[6]
Write Prim’s algorithm to find minimum spanning tree.
- c)[6]
Write the applications of : i) Graph ii) BFS iii) DFS
- a)
Q3
- a)[6]
Explain following terms w.r.t. symbol table : i) Insert & lookup operations ii) Advantages iii) Disadvantages
- b)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[6]
This part has equations that don’t show as text. Open the PDF to read it.
OR- a)
Q4
- a)[6]
What is the need of AA tree? List the five invariants that AA tree must satisfy.
- b)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[6]
Show the balanced AVL tree after deletion of mentioned node : i) Delete 30 ii) Delete 55 iii) Delete 60
- a)
Q5
- a)[6]
What is indexing? What are the advantages of indexing? Discuss clustering index with example.
- b)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[5]
Why B+ tree? List its properties and advantages.
OR- a)
Q6
- a)[6]
Explain with example trie tree. Give properties and advantages of trie tree.
- b)[6]
This part has equations that don’t show as text. Open the PDF to read it.
- c)[5]
What is difference between B and B+ tree?
- a)
Q7
ORQ8
- a)[6]
Explain Sequential file organization and discuss their advantages and disadvantages.
- b)[6]
What is coral rings? Describe inverted files w.r.t linked organization.
- c)[5]
This part has equations that don’t show as text. Open the PDF to read it.
- a)