B.Tech., III Semester
Examination, November 2022
Grading System (GS)
Max Marks:
70 | Time: 3 Hours
Note:
i) Attempt any five questions.
ii) All questions carry equal marks.
a) What are the different operations performed on data structures? Explain. (Unit 1)
b) How linked list is represented in memory? Explain. (Unit 1)
a) Explain the operations performed on stack with a program. (Unit 2)
b) Convert the following infix to post fix expression.
$A + B - C * D * E \$ F \$ G$ (Unit 2)
a) Explain briefly about the Circular Linked list and it operations. (Unit 1)
b) What are the different terminologies used in the trees? Explain with suitable diagrams. (Unit 3)
Insert the following list of elements from the red black tree. Delete the elements 18, 2, 30 from the 12, 30, 36, 18, 25, 9, 4, 2, 17, 14, 20 and 47. (Unit 3)
a) Write a 'C' program, how to insert and delete elements in the Binary search tree? (Unit 3)
b) Discuss Kruskal's algorithm with an following graph. (Unit 4)
a) Solve BFS and DFS traversal of following graph. (Unit 4)
b) Discuss Prims algorithm with an following graph. (Unit 4)
a) Explain bubble sort algorithm and simulate it for the following data 35, 33, 42, 10, 14, 19, 27, 44. (Unit 5)
b) Explain Binary search and simulate it for the following data 4, 21, 36, 14, 62, 91, 8, 22, 81, 77, 10. (Unit 5)
Write short notes on any two of the following:
i) Queue using linked list (Unit 2)
ii) Hashing (Unit 5)
iii) B+ tree (Unit 3)
iv) Post fix expression evaluation (Unit 2)