0% found this document useful (0 votes)
89 views2 pages

Ds Paper

This document contains instructions for a data structures and algorithms exam with 8 questions divided among 4 units. Students must answer 5 questions total, selecting at least one from each unit. The questions assess a variety of data structures and algorithms concepts, asking students to: 1) Differentiate between linear and non-linear data structures, recursive and non-recursive binary search, and linear and searching algorithms. 2) Discuss steps for bubble sort, priority queues, stacks, queues, linked lists, doubly linked lists, AVL trees, binary tree traversal, Prim's and Kruskal's algorithms, and balanced multi-way search trees. 3) Write algorithms for operations on stacks, queues, linked lists

Uploaded by

himani aneja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views2 pages

Ds Paper

This document contains instructions for a data structures and algorithms exam with 8 questions divided among 4 units. Students must answer 5 questions total, selecting at least one from each unit. The questions assess a variety of data structures and algorithms concepts, asking students to: 1) Differentiate between linear and non-linear data structures, recursive and non-recursive binary search, and linear and searching algorithms. 2) Discuss steps for bubble sort, priority queues, stacks, queues, linked lists, doubly linked lists, AVL trees, binary tree traversal, Prim's and Kruskal's algorithms, and balanced multi-way search trees. 3) Write algorithms for operations on stacks, queues, linked lists

Uploaded by

himani aneja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll No. .......................

Total Pages : 2

BT-3/D-21 43132
DATA STRUCTURE AND ALGORITHMS
Paper-PC-CS201A

Time : Three Hours] [Maximum Marks : 75

Note : Attempt any five questions by selecting at least one


question from each unit.

UNIT–I
1. (i) Differentiate between linear and non linear data
structures with example. (8)
(ii) Differentiate Recursive and Non recursive binary
Search. (7)

2. (i) Differentiate between linear and searching algorithm.


(8)
(ii) Discuss various steps involved in Bubble sort with
suitable example. (7)

UNIT–II
3. (i) Write algorithm to insert and delete elements in stack.
(8)
(ii) Discuss various steps involved in Priority queue. (7)

4. (i) Write prefix and postfix expression for (A – B/C + E)/


(A + B). (8)
(ii) Discuss various applications of stack and queue. (7)

43132/00/KD/364 [P.T.O.
UNIT–III
5. (i) Write algorithm for insert and delete an element from
a linked list. (8)
(ii) How stack and queue are dynamically implemented.
(7)

6. (i) Write algorithm insert and delete elements in doubly


link list. (8)
(ii) Differentiate Static and dynamic implementation of
link list. (7)

UNIT–IV
7. (i) Write properties of AVL tree. Make an AVL tree having
elements 5, 10, 20, 30, 40, 45, 50, 60 and 70. (8)
(ii) Write algorithm to traversal in a binary tree with
example. (7)

8. (i) Compare Prim's and Kruskal's algorithm with suitable


example. (8)
(ii) Write algorithm for balanced multi way search trees.
(7)

43132/00/KD/364 2

You might also like