DS (3rd) May2018
DS (3rd) May2018
of Pages: 02
Total No. of Questions: 07
INSTRUCTIONS TO CANDIDATES:
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
2. SECTION-B contains SIX questions carrying TEN marks each and students ha ve to
attempt any FOUR questions.
SECTION A
p e o
.r c
c) What are the various non-linear data structures?
p a
d) What do you mean by algorithm?
r
e) What is the difference between data and information?
b p e
a
f) What are the front and rear pointers of queue?
rp
g) What is need for garbage collection?
M-10058 Page 1 of 2
SECTION B
2. What do you mean by data and data structure? What is need of algorithm complexity and
how it is evaluated? Describe any notation used to represent algorithm complexity.
3. Write an algorithm for Binary Search. How it is better from Linear Search?
4. What are the various operations possible on stacks? Explain the algorithm for each of them?
5. In what way, doubly linked list is better than single linked list. Give examples.
6. What are the various binary tree traversal techniques? Discuss with example and algorithm.
7. Write an algorithm for insertion sort. Discuss with help of an example.
o m
.r c m
p e o
p a .r c
b r p e
a
b rp
M-10058 Page 2 of 2