Data Structure Question Paper 2018
Data Structure Question Paper 2018
com
Printed Pages: 02 Sub Code: RCS305
a. What do you understand by time space trade off? Explain best, worst and average case
analysis in this respect with an example
b. Use quick sort algorithm to sort 15,22,30,10,15,64,1,3,9,2. Is it a stable sorting
algorithm? – Justify.
c. Define spanning tree. Also construct minimum spanning tree using prim’s algorithm for
the given graph.
d. Define tree, binary tree, complete binary tree and full binary tree. Write algorithms or
function to obtain traversals of a binary tree in preorder, postorder and inorder.
e. Construct a B-tree on following sequence of inputs.
10, 20, 30, 40, 50, 60, 70, 80, 90
Assume that the order of the B-tree is 3.
SECTION C
1|Page
www.aktuonline.com
www.aktuonline.com
4. Attempt any one part of the following: 7x1=7
2|Page
www.aktuonline.com