Professional Documents
Culture Documents
Set - 1 GR 11 B.Tech II Year II Semester Regular Examinations, May, 2013 Design and Analysis of Algorithms)
Set - 1 GR 11 B.Tech II Year II Semester Regular Examinations, May, 2013 Design and Analysis of Algorithms)
b Write and explain the control abstraction for greedy method. [7]
b (b) Solve the following 0/1 Knapsack problem using dynamic programming. [8]
(p1, p2,…,p4) =(11, 21, 31, 33), ( w1, w2, …, w4) =(2,11,22,15), m=40, n=4.
4). a Draw and explain the portion of the tree for 4-queens problem that is generated [7]
during backtracking.
b Solve Travelling Sales Problem using Branch and Bound reduced cost matrix [8]
method.
5). a Explain the following. [8]
(i) FIFO Branch and Bound.
(ii) LC Search.
7). a State the following problems: (i) Sum of subsets problem. [8]
(ii) Knapsack problem. (iii) Job sequencing with dead lines.
b Compare Prim’s & Kruskal algorithm in generating minimum cost spanning tree and [7]
discuss their time complexities.
*****