DAA Model Question Paper
DAA Model Question Paper
DAA Model Question Paper
OR
11 b Explain in detail about the algorithm efficiency CO1 R
12 a Write short notes on Mathematical analysis of recursive algorithms CO1 R
OR
12 b Solve the knapsack problem using assignment problem given below
Page 1 of 4
OR
Obtain the optimal binary search tree for the following nodes (do,if,int,while)
13 b With the following probabilities
CO3 U
a[i] 1 2 3 4
P[i] 0.1 0.2 0.4 0.3
OR
3 5 2 7 CO2 E
4 6 8 3
OR
14 b Write the pseudo code of the Floyd’s algorithm. Explain one application of CO3 E
Floyd’s algorithm
OR
16 a Apply the memory function method to the instance of knapsack problem given
below. Capacity W=5
16 b Discuss in detail about binary heaps following insertion and deletion operation CO2 A
Page 2 of 4