2019-20 University Paper
2019-20 University Paper
2019-20 University Paper
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
SECTION B
c. Define spanning tree. Write Kruskal’s algorithm for finding minimum cost
spanning tree. Describe how Kruskal’s algorithm is different from Prim’s
algorithm for finding minimum cost spanning tree.
e. Define NP-Hard and NP- complete problems. What are the steps involved in
proving a problem NP-complete? Specify the problems already proved to be
NP-complete.
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
http://www.aktuonline.com
Printed Page 2 of 2 Sub Code: RCS502
(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.
(b) Define Floyd Warshall Algorithm for all pair shortest path and apply the same
on following graph:
www.aktuonline.com
http://www.aktuonline.com