B.Tech., III Semester
Examination, June 2024
Grading System (GS)
Max Marks:
70 | Time: 3 Hours
Note:
i) Attempt any five questions.
ii) All questions carry equal marks.
a) Describe Asymptotic notation in detail. (Unit 1)
b) What is Recursion? Explain in detail with example. (Unit 2)
a) Differentiate between the stack and queue. (Unit 2)
b) Write a āCā program to convert the infix expression to postfix expression. (Unit 2)
a) Write an algorithm for insert and delete operations in circular linked list. (Unit 1)
b) How a binary search tree is traversed? Explain with a suitable example. (Unit 3)
a) How can you convert an infix expression to postfix expression using stack? Give one example. (Unit 2)
b) Write functions to implement recursive versions of preorder, inorder and postorder traversals of a binary tree. (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) Explain shell sort algorithm and simulate it for the following data 35, 33, 42, 10, 14, 19, 27, 44. (Unit 5)
b) Explain sequential search and simulate it for the following data 4, 21, 36, 14, 62, 91, 8, 22, 81, 77, 10. (Unit 5)
a) Explain Multiway Merge sort with an example. (Unit 5)
b) What do you mean by sorting? Describe the need for sorting. (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)