Design and Analysis of Algorithm - RCS502
Design and Analysis of Algorithm - RCS502
B. TECH.
(SEM V) THEORY EXAMINATION 2019-20
DESIGN AND ANALYSIS OF ALGORITHM
Time: 3 Hours Total Marks: 70
Note: 1. Attempt all Sections. If require any missing data; then choose suitably.
SECTION A
I
AR
e. Explain applications of FFT.
f. Define feasible and optimal solution.
g. W
What do you mean by polynomial time reduction?
TE
0
.3
AR
SECTION B
98
2. Attempt any three of the following: 7 x 3 = 21
.1
M
.5
KU
|1
ES
12, 9, 81, 76, 23, 43, 65, 88, 76, 32, 54. Now Delete 23 and 81.
AJ
0:
c. Define spanning tree. Write Kruskal’s algorithm for finding minimum cost
R
:3
e. Define NP-Hard and NP- complete problems. What are the steps involved in
D
NP-complete.
|1
SECTION C
3. Attempt any one part of the following: 7x1=7
(a) Among Merge sort, Insertion sort and quick sort which sorting technique is the
best in worst case. Apply the best one among these algorithms to Sort the list E,
X, A, M, P, L, E in alphabetic order.
(b) Solve the recurrence using recursion tree method:
T (n) = T (n/2) + T (n/4) + T (n/8) + n
(b) Explain the algorithm to delete a given element in a binomial Heap. Give an
example for the same.
(b) What do you mean by convex hull? Describe an algorithm that solves the
convex hull problem. Find the time complexity of the algorithm.
I
P=[11,21,31,33] w=[2,11,22,15] c=40, n=4.
AR
(b) W
Define Floyd Warshall Algorithm for all pair shortest path and apply the same
on following graph:
TE
0
.3
AR
98
.1
M
.5
KU
39
H
|1
ES
29
AJ
:3
Σ = {a,b}.
9
01
Problem.
ec
D
4-
|1