DAA Assignment 2 2020
DAA Assignment 2 2020
ASSIGNMENT-II
(Submission Date: 2nd May - 2020)
SEMESTER IV Sections A
FACULTY NAME and
Dr. Bhavanishankar K, Assistant Professor
DESIGNATION
Q. Bloom’s
Questions COs
No. LL
1 How decrease and conquer method is different from divide and conquer
L2 CO2
method. Explain the three variations of this technique.
What is topological ordering problem? Solve the given graph using
source removal method.
2 L3 CO2
4 Define feasible and optimal solutions. Write the algorithm for greedy
knapsack to obtain the optimal solution. L2 CO3
Find the optimal solution of the knapsack instance n=7, M=15,
5 (p1,p2,p3,p4,p5,p6,p7) = (10,5,15,7,6,18,3) and
L3 CO3
(w1,w2,w3,w4,w5,w6,w7) = (2,3,5,7,1,4,1).
6 Define the following: i) Spanning tree ii) Minimum cost spanning tree
L2 CO3
iii) Weight matrix. iv) Adjacency Linked list v) Adjacency Matrix
RNSIT – Department of CSE Subject Code: 18CS42 Assignment-II
7
L3 CO3
Page | 2