Write an algorithm for depth first traversal of a graph.
Please rotate your device horizontally for split view
Access and download Data Structures And Algorithms question papers from Savitribai Phule Pune University (SPPU). Our collection includes INSEM (Internal Semester) and ENDSEM (End Semester) exam papers.
We offer 5 question papers for Data Structures And Algorithms, covering various exam patterns and years. All papers are in PDF format for easy viewing and download.
Prepare for mid-term evaluations with Data Structures And Algorithms INSEM papers, aligned with the SPPU exam pattern and syllabus.
Access Data Structures And Algorithms ENDSEM papers covering the entire syllabus, essential for final exam preparation.
Our question-paper viewer enables you to:
SPPU Question Papers Hub is focused entirely on SPPU previous year papers, with cleaner discovery by branch, semester, and subject.
Data Structures And Algorithms is a key subject in the SPPU curriculum. Our question paper collection helps students understand exam patterns, practice effectively, and improve academic performance.
Explore Data Structures And Algorithms resources including SPPU question papers from Savitribai Phule Pune University. Find INSEM and ENDSEM papers for effective examination preparation. Our platform offers academic resources, a PDF viewer for online study, university question papers, and materials for semester examinations.
Download all INSEM question papers as ZIP
Download all ENDSEM question papers as ZIP
Download all question papers (INSEM + ENDSEM) as ZIP
Write an algorithm for depth first traversal of a graph.
Construct the minimum spanning tree (MST) for the given graph using Prim’s Algorithm staring from vertex 6.
What is topological sorting? Find topological sorting of given graph.
Write an algorithm for breadth first traversal of a graph.
Using Prim’s Algorithm, find the cost of minimum spanning tree (MST) of the given graph starting from vertex ‘a’ -
Define the following terms : i) Complete Graph ii) Connected Graph iii) Subgraph
Construct an AVL Tree by inserting numbers from 1 to 8.
Define Red Black tree. List its properties. Give example of it.
Write functions for RR and RL rotation with respect to AVL tree.
Construct an AVL Tree for following data : 50, 25, 10, 5, 7, 3, 30, 20, 8, 15
Explain with example K dimensional tree.
Explain static and dynamic tree tables with suitable example.
Construct a B-Tree of order 3 by inserting numbers from 1 to 10.
Explain following primary index, Secondary index, Sparse index and Dense index with example.
Construct a B Tree of order 5 with the following data : D H Z K B P Q E A S W T C L N Y M
What is trie tree? Explain insert and search operation on it.
Explain multilist files & coral rings.
What is Sequential and index sequential file organization? State its advantages and disadvantages.
Explain inverted file & cellular partitions.
Explain direct access file organization. State its advantages and disadvantages.
| Subject Name | Data Structures And Algorithms |
|---|---|
| Semester | IV |
| Pattern Year | 2019 |
| Subject Code | 210252 |
| Max Marks | 70 |
| Total Questions | 8 |
| Duration | 2½ Hours |
| Paper Number | [6002]-161 |
| Academic Year | S.E. |
| Branch Name | Computer/AI & DS |
| Exam Type | ENDSEM |
| Exam Session | 2023 May Jun Endsem |
| Watermark | ['CEGP013091', '49.248.216.238 24/06/2023 10:32:22 static-238'] |
Elaborate following terminologies : i) Graph ii) Adjacency List iii) Adjacency Matrix
Differentiate between tree and graph.
Write pseudo code for Floyd-Warshall algorithm.
Find the shortest path using Dijkstra’s algorithm. Write all the sequence of steps used in algorithms.
Write Prim’s algorithm to find minimum spanning tree.
Write the applications of : i) Graph ii) BFS iii) DFS
Explain following terms w.r.t. symbol table : i) Insert & lookup operations ii) Advantages iii) Disadvantages
Construct an AVL tree having the following elements : H, I, J, B, A, E, C, F, D, G
Insert 15, 10, 17, 7 in splay tree.
What is the need of AA tree? List the five invariants that AA tree must satisfy.
Who developed K-D tree? What is the purpose of K-O tree? Insert step by step (7, 8), (12, 3), (14, 1), (4, 12), (9, 1), (2, 7) and (10, 19) into K-D tree.
Show the balanced AVL tree after deletion of mentioned node : i) Delete 30 ii) Delete 55 iii) Delete 60
What is indexing? What are the advantages of indexing? Discuss clustering index with example.
Construct a B-Tree of order 3 for following data : 50, 30, 21, 90, 10, 13, 20, 70, 25, 92, 80.
Why B+ tree? List its properties and advantages.
Explain with example trie tree. Give properties and advantages of trie tree.
Build B+ tree of order 3 for the following : F, S, Q, K, C, L, H, T, V, W, M, R
What is difference between B and B+ tree?
Explain Index Sequential file and discuss their advantages and disadvantages.
List & explain two possible ways of representing records.
Differentiate between indexed sequential file and direct access file.
Explain Sequential file organization and discuss their advantages and disadvantages.
What is coral rings? Describe inverted files w.r.t linked organization.
Explain Direct Access file.
| Subject Name | Data Structures And Algorithms |
|---|---|
| Semester | IV |
| Pattern Year | 2019 |
| Subject Code | 210252 |
| Max Marks | 70 |
| Total Questions | 8 |
| Duration | 2½ Hours |
| Paper Number | [6261]-36 |
| Academic Year | S.E. |
| Branch Name | Computer Engineering/Artificial Intelligence & Data Science Engineering |
| Exam Type | ENDSEM |
| Exam Session | 2024 May Jun Endsem |
| Watermark | ['CEGP013091', '49.248.216.238 18/05/2024 13:38:50 static-238'] |
Write Floyd Warshall Algorithm.
Construct stepwise minimum spanning tree (MST) for the given graph using Prim’s Algorithm. Also calculate sum of all weights. Start from vertex 1.
Apply Dijkstra’s Algorithm for the graph given below, and find the shortest path from node A to node C.
Define indegree & outdegree of a directed graph. Write degree for G1 & G2. Write indegree & outdegree of each vertex for G3 graph.
Construct the minimum spanning tree (MST) for the given graph using Kruskal’s Algorithm.
Find the number of different topological orderings possible for the given graph.
Construct AVL tree for insertion of following data: 9, 15, 20, 8, 7, 13, 10.
Draw splay tree after i) Zig rotation ii) Zag rotation for follwoing tree- iii) Zig Zig Rotation iv) Zag Zag Rotations for following tree-
Create 2D tree for following data: (3, 6), (17, 15), (13, 15), (6, 12), (9, 1) (2,7), (10, 19). Also plot all the points in XY plane.
Construct AVL tree for insertion of following data: 63, 9, 19, 27, 18, 108, 99, 81.
Define Red Black tree. List its properties. Give example of it.
Write the functions for split & skew operations in AA tree.
Create a B- Tree of order 5 from the following list of data items: 30, 20, 35, 95, 15, 60, 55, 25, 5, 65, 70, 10, 40, 50, 80, 45
Explain following indexing techniques: i) Primary ii) Secondary iii) Sparse iv) Dense
Create a B+Tree of order 3 from the following list of data items: 1, 3, 5, 7, 9, 2, 4, 6, 8, 10
Define trie tree. Compare trie tree with hash table. Draw trie tree for following data: bear, sell, bell, bid, stock, bull, buy, stop.
Explain sequential & direct access file organization. Also list two advantages & disadvantages of same.
Explain Indexed sequential access file organization. Also list two advantages & disadvantages of same. Compare sequential & indexed sequential file organization.
What is linked organization? Explain inverted file and coral rings with respect to linked organization.
Explain multilist files & cellular partitions.
| Subject Name | Data Structures And Algorithms |
|---|---|
| Semester | IV |
| Pattern Year | 2019 |
| Subject Code | 210252 |
| Max Marks | 70 |
| Total Questions | 8 |
| Duration | 2½ Hours |
| Paper Number | [6179]-236 |
| Academic Year | S.E. |
| Branch Name | Artificial Intelligence & Data Science Engineering |
| Exam Type | ENDSEM |
| Exam Session | 2023 Nov Dec Endsem |
| Watermark | ['CEGP013091', '49.248.216.238 21/12/2023 09:40:32 static-238'] |
We have a hash table of size 10 to store integer keys, with hash function h(x) = x mod 10. Construct a hash table step by step using linear probing without replacement strategy and insert elements in the order 31,3,4,21,61,6,71,8,9,25. Calculate average number of comparisons required to search given data from hash table using linear probing without replacement.
Explain the concept of quadratic probing using example. What are the advantages and disadvantages of quadratic probing over linear probing?
What is hashing? Explain the properties of good hash function with examples.
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.
Add following keys in hash table by applying extendible hashing mechanism. Assume capacity of each directory to store buckets is 3. Keys are 10, 20, 15, 12, 25, 30, 7, 11, 08.
Write short note on skip list.
Write an algorithm to delete a node from Threaded binary Search Tree.
The following numbers are inserted into an empty binary search tree in the given order : G, C, B, A , D, E, F, I, H. Construct tree step by step. Represent the constructed tree using static memory allocation.
Let characters a, b, c, d, e, f has probabilities 0.07, 0.09, 0.12, 0.22, 0.23, 0.27 respectively. Find an optimal Huffman code and draw Huffman tree.
Construct threaded binary tree step by step if the preorder traversal is G, B, D, C, A, K, Q, P, R & in-order traversal is B, A, C, D, G, K, P, Q, R. Delete G and redraw a tree.
Write a non-recursive function to display data in Binary Search Tree in descending order.
Explain how to convert general tree to binary tree with example.
| Subject Name | Data Structures And Algorithms |
|---|---|
| Semester | II |
| Pattern Year | 2019 |
| Subject Code | 210252 |
| Max Marks | 30 |
| Total Questions | 4 |
| Duration | 1 Hour |
| Paper Number | [6008] - 228 |
| Academic Year | S.E. |
| Branch Name | Computer /A.I. & D.S. |
| Exam Type | INSEM |
| Exam Session | 2023 Feb Insem |
| Watermark | ['CEGP013091', '49.248.216.238 05/04/2023 15:05:10 static-238'] |
For the given set of values: 76,40,48,5,55 Construct a hash table with size 7 and resolve collision using quadratic probing.
Explain about skip list in Hashing. Give applications of skip list.
What is hash function? What are characteristics of good hash function?
Prepare hash table by Inserting following Elements into hash table using extendible hashing: 16, 4, 6, 22, 24, 10, 31, 7, 9, 20, 26. Bucket Size: 3 (Assume)
Explain applications of Hash Table.
What is hashing? Explain different methods of hash function calculation.
Explain how to convert general tree to binary tree with example.
Write non recursive pseudocode for inorder traversal of Binary tree.
Describe binary search tree deletion with example.
Write pseudocode for BFS traversal of binary search tree.
Construct Huffman’s tree and determine code for following characters whose frequencies are as given : Character A B C D E Frequency 20 10 10 30 30
What is the necessity of Threaded binary three? Explain advantages and disadvantages of TBT.
| Subject Name | Data Structures And Algorithms |
|---|---|
| Semester | IV |
| Pattern Year | 2019 |
| Subject Code | 210252 |
| Max Marks | 30 |
| Total Questions | 4 |
| Duration | 1 Hour |
| Paper Number | [6268]-218 |
| Academic Year | S.E. |
| Branch Name | Computer Engineering (Artificial Intelligence & Data Science Engineering) |
| Exam Type | INSEM |
| Exam Session | 2024 March Insem |
| Watermark | ['CEGP013091', '49.248.216.238 21/03/2024 13:46:41 static-238'] |
Select a question to generate an answer