B.Tech. Examination, December 2025
Semester: B.Tech. III Sem. | Paper Code: TU-905
Subject: Data Structure | Subject Code: BT-306 | Branch: C.S./I.T.
Time: Three Hours | Maximum Marks: 70
Note: Attempt questions from all sections as per instructions.
Section A – Very Short Answer Questions
This section contains five questions, all questions are compulsory. There is no internal choice. 5 × 2 = 10 Marks
- Define Time Complexity. Explain Big Oh and Big Omega asymptotic notations. (2)
- Explain the method to represent the polynomial equation using linked list. (2)
- Define PUSH and POP operation in stack with their algorithm. (2)
- Write down algorithm for index sequential search. (2)
- Draw a Binary Tree with following traversal:
Inorder:DBHEAIFJCG
Preorder:ABDEHCFIJG(2)
Section B – Short Answer Questions
Attempt any two questions out of the following three questions. Each question carries 9 marks. 2 × 9 = 18 Marks
- Write algorithm for Radix Sort. Sort the following numbers using Radix Sort and show the array after each digit pass:
334, 432, 8, 90, 3, 88, 231, 45, 678, 199, 21, 7, 13, 6, 29. (9) - Convert the following arithmetic expression written in infix notation into postfix and prefix notation:
(A+B) * C + D / (B + A * C) + D. (9) - Write a C program to implement insertion, deletion and traversal operation in Doubly Linked List. Analyse the Time Complexity for all the above operations. (9)
Section C – Detailed Answer Questions
Attempt any three questions out of the following five questions. Each question carries 14 marks. 3 × 14 = 42 Marks
- Define Sparse Matrices. Write the result of multiplying the two polynomials P(x) and Q(x) using linked list representation:
P(x) = 8x4 + 6x2 + 5x + 2
Q(x) = 3x2 + x + 2 (14) - Write algorithm for heap sort. Sort
[35, 33, 42, 10, 18, 26, 44, 31]using Heap Sort. Define Heapify with its Time complexity and space complexity. (14) - Differentiate strictly binary tree, extended binary tree and threaded binary tree with suitable example. Analyse the time complexity for all the above trees. (14)
- Find the minimum spanning tree for the network in the diagram (refer to attached PDF) by using Kruskal's algorithm and Prim's algorithm starting from 'A'. (14)
- Write Huffman algorithm. Construct Huffman tree for the following numbers:
23, 54, 12, 66, 87, 35, 16, 60, 23, 75. (14)

