FDS Class Test 2 Set 2
FDS Class Test 2 Set 2
Instructions:
(1) Answer Q. No. 1 or Q. No. 2, Q. No. 3 or Q. No. 4
(2) Figures to the right indicate full marks.
(3) Neat diagrams must be drawn wherever necessary.
(4) Assume suitable data, if necessary
Q. N. Max. CO Bloom's
Questions Marks mapped Taxonomy
Level
Q1 a) Sort the sequence 08, 03,02,11,05,14,00,02,09,04,20
7 CO1 L3
using shell sort.?
b) Explain linear search & binary search algorithm in
8 CO1 L3
detail ?
OR
Q2 a) How data structures are classified in sorting and 7 CO1 L2
searching?
b) Write an algorithm to sort ‘n’ numbers using quicksort? 8 CO1 L3
Sort the following numbers: 42, 28, 90, 2, 56, 39, 12,
and 87?
Q3 a) Explain the types of Linked List in short? 7 CO2 L2
OR
Q4 a) Give the pseudo code C/C++ code to insert a node to 7 CO2 L2
the beginning of a singly linked list?
b) List various objectives of Link list operation and 8 CO2 L3
Explain with example ?