Partial preview of the text
Download Examination questions and more Schemes and Mind Maps Data Structures and Algorithms in PDF only on Docsity!
woo autpuoads Maas): http://www.rgpvonline.com Total No. of Questions : 8} {Total No, of Printed Pages : 3 RODE NO vesssecsessecseeeseessnrereonsee CS-303 (CBGS) B.Tech., U1 Semester Examination, May 2019 Choice Based Grading System (CBGS) Data Structures Time : Three Hours Maxinwuin Marks : 70 Note: i) Attempt any five questions. fiorgi ofa weal ot get Fife) ii) All questions carry equal marks. wal Heal a GH sis ZI iii}In case of any doubt or dispute the English version question should be treated as final. fare oft repre & vide sera flare a fearfe A SAT ATT ae wea of sia AAT OIRATT 1. a) Explain Tower of Hanoi with all necessary steps by considering basic rules. 7 cir afte eg & wT Fer aa at ea A eat sage Yel a are AASTET! b) Explain various algorithm used in data structure, Also differentiate single and multiple dimensional array with suitable example. 7 rer vera § aan eh arelt faftts conte at eertET fate site aaftcia ® & dha sarexer & are fee cer OM CS-303(CBGS) qq PTO http://www.rgpvonline.com Andny Woo aUTTUOAdST MAK, woo aurljuoadsr wayyy http://www.rgpvonline.com [2] 2. a) Suppose the following 13 element are sorted in array 11, 22, 30, 33, 40, 44, 50, 60, 66, 77, 80, 88, 99 Apply the binary search to DATA for searching ITEM value 60. 7 AM citiere Preriertat 13 ccd feoeit uo RF aged aoe A amare €, argent we fate a soak aed ey ITEM dey, oo et af ART : 11, 22, 30, 33, 40, 44, 50, 60, 66, 77, 80, 88, 99 b) Explain the common operations performed on data structures. 7 STC] TEPER OF EFT Tet PAA AR GASST! 3. a) Explain AVL Tree. Insert the following elements in AVL Search tree. http://www .rgpvonline.com 7 AVL#t a SaeTg! AVL Search 4 Prefect acd steil 50, 25, 10, 5,7, 3, 30, 20 b) Construct B tree of order 5 for the list of elements. 7 2,8,5,6,13,9, 14, 12,19,24, 18,15,5,16,20,21 Order 5 aT B tree dt wet list S TET! 2,8,5,6,13,9,14,12,19,24,18,15,5,16,20,21 4, a) Whatare hash function? Write down various popular hash function name. 7 er ceary ae 8? falls stent ber cheers & aH feitaa b) What is MIN-Heap? Create the MIN-Heap for the given data set. 7 6, 15, 50, 3, 33, 45 40 ,80 ,10 fa—e0 wer 2? fag ay ster Ge & fay a Bo STTI 6, 15, 50, 3, 33, 45 ,40 ,80 ,10 C8-303(CBGS) 4oo Contd... http://www.rgpvonline.com