DAA (5th) Dec2016
DAA (5th) Dec2016
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
16211 16211
each. 16211 16211 16211 16211 16211 16211 16211
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
3. SECTION-C contains T HREE questions carrying T EN marks each and students
16211 16211
have to16211
attempt any 16211 16211
T WO questions. 16211 16211 16211 16211
.r c
1. Write briefly :
m
16211 16211 16211 16211 16211 16211 16211 16211
b. Define algorithm.
p e o
a .r c
16211 16211 16211 16211 16211 16211 16211 16211 16211
c. What is Fast Fourier Transform (FFT)?
r p
d. Explain divide and conquer technique.
e
16211 16211 16211
p
16211 16211
e. Give the recurrence relation for the time complexity of merge sort algorithm.
a
16211
rp
f. Differentiate between exponential versus polynomial running time.
16211 16211 16211 16211 16211 16211 16211 16211 16211
algorithm measured?
16211 16211 16211 16211
i. Algorithm A performs 10n2 basic operations, and algorithm B performs 300 logn
16211 16211
basic operations. 16211
16211
For what value
16211
of n does 16211
algorithm B 16211
start to show 16211
its better 16211
performance?
16211 1 | M-70536
16211 16211 16211 16211 16211 16211 (S2)-639
16211 16211
SECTION-B
16211 16211 16211 16211 16211 16211 16211 16211 16211
16211 3.
16211 Explain16211
Strassen’s algorithm
16211 for matrix
16211 multiplication
16211 with an example.
16211 16211 16211
4. Give a suitable example and explain Breadth-First search and Depth-First search
algorithms.
16211 16211 16211 16211 16211 16211 16211 16211 16211
5. What are asymptotic notations? Describe with the help of examples commonly used
asymptotic notations.
16211 16211 16211 16211 16211 16211 16211 16211 16211
6. How the dynamic algorithms differ from greedy algorithm? Explain.
SECTION-C
16211 7.
16211 Explain16211
the algorithm16211
of merge sort.
16211
o m
Compute the16211
time complexity
sort the list 415, 213, 700, 515, 712, 715 using merge sort.
16211 of merge 16211
sort. Also 16211
16211
8.
16211 16211 16211 16211
.r c
Explain string matching. Explain Knuth-Morris-Pratt algorithm with an example.
16211 16211
m
16211 16211
9.
e
Write a short note on the following :
p o
a .r c
16211 16211 a. Greedy
16211 algorithm16211 16211 16211 16211 16211 16211
b. Randomization.
r p e
16211 16211 16211
b 16211 16211
a
16211
p
16211 16211 16211
rp
16211 16211 16211 16211 16211 16211 16211 16211 16211
16211 2 | M-70536
16211 16211 16211 16211 16211 16211 (S2)-639
16211 16211