Professional Documents
Culture Documents
1. K3,CO3,PO3,PSO1 Apply dynamic programming (sets method) for solving the following 0/1
knapsack problem
Let knapsack capacity m=5
itemi 1 2 3 4
Profiti 100 20 60 40
K3,CO3,PO3,PSO1 Weighti 3 2 4 1
(OR)
1 0 2 9 10
2
3
4
[ 1
15
6
0
7
3
6
0
12
4
8
0
]
2. K3,CO4,PO3-PSO1 Apply backtracking algorithm to solve the following graph coloring problem and
draw its state space tree.
10
(OR)
Compare FIFOBB and LCBB with the help of state space tree for the following
K4,CO4,PO3,PSO1 knapsack intance n=4, (p1,p2,p3,p4)=(10,10,12,18),(w1,w2,w3,w4)=(2,4,6,9) and
m=15.
10
3. K6,CO5,PO4 Estimate lower bounds for ordered searching, sorting, merging, finding largest and
second largest elements
(OR)