Dsa Set B
Dsa Set B
U,
Q1) b) Write pseudo code for Floyd-Warshall algorithm. [05] CO3 C,P
Ap
U,
Q1) c) [06] CO3 C,P
AP
Construct the minimum spanning tree (MST) for the given graph using
Kruskal’s Algorithm.
OR
U,
Q2) a) [06] CO3 C,P
Ap
OR
Q4) a) Differentiate between static and dynamic tree tables. [05] CO4 U F,C
Write short note on:
Q4) b) i) AA tree [06] CO4 U F,C
ii) K - dimensional tree
U,
Q4) c) Explain AVL tree rotations with example. [07] CO4 C,P
AP
Insert the keys to a 5-way B-tree: 3, 7, 9, 23, 45, 1, 5, 14, 25, 24, 13, 11, 08, 19, U,
Q5) a) [07] CO5 C,P
04, 31, 35, 56. AP
U,
Q5) b) Create min heap of given data 10,20,15,12,25,30,14,2,5,4. [05] CO5 C,P
AP
Q5) c) Explain following primary index, Secondary index with example. [05] CO5 U F,C
OR
U,
Q6) a) Build B+ tree of order 3 for the following : 1,42,38,21,31,10,17,7,31,25,20,18. [07] CO5 C,P
AP
Q6) b) Explain with example trie.tree. Give advantage and applications of trie tree. [05] CO5 U F,C
……………………………BESTLUCK…………………………………