Skip to content
Previous Year Question Paper

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

June 2023AIMLSEMESTER-3
June 2023
Max Marks: 70
Duration: 3 Hours
Instructions:

Attempt any five questions.

All questions carry equal marks.

Q.1
a)Unit 1

What is Abstract data type? Explain with the help of example.

b)Unit 1

Differentiate array and linked list.

Q.2
a)Unit 1

What is the application of linked list. And also write the algorithm how to add two polynomials using linked list.

b)Unit 1

Write a program in C to insert a node at any specified position in doubly linked list.

Q.3
a)Unit 1

What is the difference between data and information? Give one example of each.

b)Unit 1

How to represent 2-D array in memory? Explain with the help of example.

Q.4
a)Unit 2

Write an algorithm to convert infix expression into postfix form using Stack. Also evaluate the given postfix form using stack.

b)Unit 2

Write a program in 'C' to implementation of QUEUE.

Q.5
a)Unit 3

What are the differences between:

i) Height and depth

ii) Order and degree.

b)Unit 3

Show that the maximum number of nodes in a binary tree of height h is 2^(h+1)-1.

Q.6
a)Unit 3

Construct the steps to configure a B-tree of order 5 for the given data.

b)Unit 4

Explain Dijkstra Algorithm with the help of example.

Q.7
a)Unit 5

Write a Heap sort algorithm. Use Heap sort algorithm to sort the following elements: D A T A S T R U C T U R E S.

b)Unit 5

Differentiate internal sorting and external sorting. Also enlists the name of two sorting techniques of each.

Q.8
a)Unit 5

Binary search is more efficient than Linear search. Justify your answer.

b)Unit 5

Write short note on Hashing and Indexing.