DS (2nd) May2013
DS (2nd) May2013
of Pages : 2
Total No. of Questions : 09
MCA (Sem.–2 nd )
DATA STRUCTURES
om
Subject Code : MCA-203 (2012 Batch)
Paper ID : [B0135]
.c
Time : 3 Hrs. er Max. Marks :100
INSTRUCTION TO CANDIDATES :
ap
1. SECTIONS-A, B, C & D contains TW O questions each carrying
om
TWENTY marks each and students has to attempt any ONE question
rp
.c
.b
er
w
SECTION-A
ap
w
l. What is Stack? What are its applications? Explain how stack is implemented
w
rp
using linked list.
.b
SECTION-B
w
3. What is Tree? What are its different types? Explain how tree is represented
in memory?
SECTION-C
[N- 16-811 ]
SECTION-D
7. What is Selection Sort? Write and explain the working of selection sort
for sorting the following list of numbers:
om
44, 22, 76, 12, 52, 115, 35, 6, 98, 62
.c
an array using linear search. Discuss its complexity.
er
SECTION-E
ap
om
9. Write briefly :
rp
.c
.b
er
w
rp
e) Write an algorithm to delete a node from singly linked list.
.b
graph.
w
h) Write the complexity of bubble sort, quick sort and insertions sort
algorithms.
[N- 16-811 ]