Skip to content
Previous Year Question Paper

AD/AG/AL/CD/CY/IO/IS-303 (GS) – Data Structure

December 2024AIMLSEMESTER-3
December 2024
Max Marks: 70
Duration: 3 Hours
Instructions:

Attempt any five questions.

All questions carry equal marks.

Q.1
a)Unit 1

Explain the insertion operation in linked list. How nodes are inserted after a specified node?

b)Unit 1

What are the drawbacks of single linked list? Write and explain the algorithm for search and modify operations in doubly linked list with example.

Q.2
a)Unit 2

What are the limitations of queue? Explain the algorithms for various operations of circular queue.

b)Unit 2

Explain the array implementation of stack ADT in detail.

Q.3
a)Unit 2

Explain an algorithm to check whether the parentheses in an expression are balanced using a stack.

b)Unit 3

How to insert and delete an element into a binary search tree and write down the code for the insertion.

Q.4
Unit 3

Construct an expression tree for the expression (a+b*c)+((d*e+f)*g). Give the outputs when you apply inorder, preorder and postorder traversals.

Q.5
a)Unit 4

Compare Prim's algorithm with Kruskal's algorithm for finding minimum spanning trees.

b)Unit 4

Explain Breadth First Search algorithm with example.

Q.6
a)Unit 3

Create a binary search tree for the given numbers. Delete keys 10, 60 and 45 one after the other and show the trees at each step.

b)Unit 5

Provide examples of real-world applications where hashing is used and explain any two example in details.

Q.7
a)Unit 5

Explain how to sort the elements by using selection sort and derive time complexity for the same.

b)Unit 3

Illustrate with examples the operations of insertion and deletion in an AVL tree.

Q.8
Unit 5/4/3/2

Write short notes (any three):

i) Merge Sort

ii) Graph

iii) B+ Tree

iv) Dqueue