Screenshot 2023-09-06 at 11.01.09 PM
Screenshot 2023-09-06 at 11.01.09 PM
Encode:CAB,ADD,BAD,ACE
Decode:110011 & 1000110001
objects 1 2 3 4 5 6 7
Weight 2 3 5 7 1 4 1
Profits 10 05 15 07 06 18 03
OR
2.a) Apply heapsort for the list[9,7,1,8,3,6,2,4,10,5]using 05 CO1 L6
bottom up approach?
2.b) Find the optimal solution for the greedy job sequencing 05 CO1 L3
problem given n=4,profits[10,30,60,40],deadlines[2,3,1,3]
Module - 4
3.a) Explain the general procedure to solve a multistage graph 10 CO2 L2
problem using backward approach with an example?
3.b) Construct an Optimal binary search tree for the following 05 CO2 L6
3.c) Slove the instance of 0/1 knapsack problem using Dynamic 05 CO2 L3
programming approach
OR
4.a) Explain and Design Floyds algorithm to find shortest 10 CO2 L2
distances from all nodes to all other nodes
4.b) Apply Dynamic programming approach to solve the given 05 CO2 L6
travelling salesman problem
4.c) Find the shortest path from node 1 to every other node in 05 CO2 L3
the given graph using Bellman-Ford algorithm
Module - 5
5.a) Apply and Discuss What is hamiltonian circuit problem? 10 CO3 L6
What is the procedure to find Hamiltonian circuit of a
graph.Explain with example graphs also write its algorithm
and time complexity?
5.b) Explain and Color the regions in the map given in figure by 05 CO3 L2
applying backtracking graph color algorithm .Color=[RGB
& Y]
5.c) Apply branch and bound approach to solve the instance of 05 C03 L6
0/1 knapsack problem.
items 1 2 3 4
weights 4 7 5 3
OR
6.a) Apply the branch and bound algorithm to solve the TSP 10 CO3 L6
problem for the graph below