Daa Questions
Daa Questions
12 6 What is Skip List?Explain the Search operation in Skip list with Example.Also write its algorithm. AKTU 2021-22 10
Show all the steps of Stressen's Matrix Multiplication algorithm to multiply the following matrics
:
13 1 AKTU 2015-16 10
Find optimal solution to the Fractional Knapsack instances n=7 and Knapsack capacity M=15
15 3 where profits and weights are as follows (P1, P2, ...,P7) =(10,5,15,7,6,18,3) and (W1,W2,...,W7) AKTU 2015-16 10
= (2, 3, 5, 7, 1, 4, 1) respectively.
Apply the greedy single source shortest path algorithm on the following grapgh:
16 4 AKTU 2018-19 10
CO3
What is Minimum Cost Spanning Tree? Explain Kruskal's Algorithm and Find MST of the
graph. Also write its time complexity.
17 5 AKTU 2017-18 10
Define Floyd Warshal algorithm for all pair sortest path and applying the same on following
graph. Also write the complexity of the algorithm
18 6 AKTU 2019-20 7
Solve the following 0/1 Knapsack problem using dynamic programming. P= [11,21,31,33], w=
19 7 AKTU 2019-20 7
[2,11,22,15], C= 40. n=4.
When do Dijkstra and the Bellman-Ford algorithm both fail to find a shortest path?Can Bellman
ford detect all negative weight cycles in a graph?Apply Bellman Ford Algorithm on the following
graph:
20 8 AKTU 2018-19 7
Explain the method of finding Hamiltonian cycles in a graph using backtracking method with
21 1 AKTU 2021-22 10
suitable example.
What is sum of subset problem? Draw a state space tree for sum of subset problem using
22 2 AKTU 2020-21 10
backtracking? Let n = 6, m = 30 and w [1:6] = { 5, 10, 12, 13, 15, 18}.
23 3 What is N queens problem? Draw a state space tree for 4 queens problem using backtracking. AKTU 2021-22 10
24 4 Differentiate between Backtracking and Branch and Bound Techniques. AKTU 2019-18 2
What is travelling salesman problem (TSP)? Find the solution of following TSP using Branch &
CO4
Bound method.
AKTU 2020-21
25 5 10
AKTU 2021-22
AKTU 2019-20
26 1 AKTU 2021-22 7
Define NP-Hard and NP- complete problems. What are the steps involved in providing a problem
AKTU 2018-19
NP-Complete? Specify the problems already proved to be NP-complete.
Write Rabin Karp string matching algorithm. Working modulo q=11, how many spurious hits
27 2 does the Rabin karp matcher in the text T= 3141592653589793, when looking for the pattern AKTU 2021-22 10
P=26.