Updated R20cse3203 - Daa Question Bank
Updated R20cse3203 - Daa Question Bank
Updated R20cse3203 - Daa Question Bank
UNIT I
PART- A
1 MARK QUESTIONS BT COURSE
LEVEL OUTCOME
1. Define an algorithm. 1 CO1
2. List out the properties of the algorithm? 1 CO1
UNIT II
PART- A
1 MARK QUESTIONS BT COURSE
LEVEL OUTCOME
1 Define Disjoint set.( remembering) 1 CO3
2. What is weighting rule for Union.( remembering) 1 CO3
3. What are the types of graph traversal?( remembering) 1 CO3
4. What are the different Tree traversals.(understanding) 2 CO3
5. Write algorithm for simple Union & find Operations.( remembering) 1 CO3
6. Define Graph.( remembering) 1 CO3
7. Define Connected component(remembering) 1 CO3
8. Define Bi-connected components.( remembering) 1 CO3
9. What is Adjacency Matrix?( remembering) 1 CO3
10. Define Spanning Tree.( remembering)
1 CO3
11. What is Collapsing Rule?
2 CO2
12. What is AND / OR graph.
3 CO2
PART- B
10 MARKS
QUESTIONS
1. Explain the usefulness of the following fundamental operations on sets: 2 CO3
(a) FIND (b) UNION
2. Explain briefly in detail about non-recursive binary tree traversal algorithm with 5 CO3
example.
3. Differentiate between BFS and DFS. 4 CO3
4. Explain the Properties of Depth first search and Breadth first search. 2 CO3
6. Explain about single source shortest path algorithm with an example 2 CO4
7. 4 CO4
Compare Divide and Conquer approach and greedy method
8. Solve the following problem of Job sequencing with the dead line specified using 5 CO4
Greedy strategy: N=4, (p1, p2, p3, p4)=(100,10,15,27) (d1, d2, d3, d4)=
(2,1,2,1).
9. Find the optimal solution for the given instance of knapsack 5 CO4
problem .n=3,knapsack capacity m=20,
weight=(18,15,10),profits=(25,24,15).
10. Illustrate Reliability Design. 4 CO4
11. Explain with an example of Travelling Salesman Problem. 2 CO4
12. Explain about Matrix Chain Multiplication using Dynamic Programming method? 2 CO4
SRI INDU COLLEGE OF ENGG & TECH
QUESTION BANK (Regulation :R20)
(Regulation :R20)
Department of Computer Science and Engineering
Sub. Code & Title R20CSE3203 Design and Analysis of Algorithms
Academic Year: 2023-24 Year/Sem./Section III – II /A,B,C,D
Faculty Name & Designation B.Navya, Assistant Professor
E.Pavithra , Assistant
Professor
UNIT-IV
PART-A
1 MARK QUESTIONS BT COURSE
LEVEL OUTCOME
1. Define Backtracking . 1 CO5
2. What do you mean by State Space Tree? 1 CO5
3. Define n-Queens Problem. 1 CO5
4. What is Hamiltonian cycle ? 1 CO5
5. Define the term Branch and Bound Technique . 1 CO5
6. Differentiate Feasible Solution and optimal solution . 4 CO5
7. What is LIFO Search? 1 CO5
8. What is FIFO Search? 1 CO5
9. Define the following terms live node and E-node. 1 CO5
10. List the properties of LC-Search. 1 CO5
PART-B
10 MARKS
1. What is Backtracking? Explain in detail. 2 CO5
2. Explain Subset-sum Problem & Discuss the possible solution strategies using 2 CO5
backtracking.
3. Write short notes on (a) Graph coloring (b) 8-Queens problem 2 CO5
4. Explain n-Queens problem with an algorithm. 2 CO5
5. Apply Backtracking technique to solve the following instance of the sum of sub sets 3 CO5
problems w={5,7,10,12,15,18,20} & m=35
6. Explain graph coloring algorithm with an example 2 CO5
7. Explain Hamiltonian cycle with an example. 2 CO5
8. Using Backtracking enumerate how can you solve the following problems 6 CO5
(a) 8-Queens problem
(b) Hamiltonian Cycle problem
9. Find out solution for knapsack problem using LC and FIFO Branch and Bound 5 CO5
SRI INDU COLLEGE OF ENGG & TECH
QUESTION BANK (Regulation :R20)
(Regulation :R20)
Department of Computer Science and Engineering
Sub. Code & Title R20CSE3203 Design and Analysis of Algorithms
Academic Year: 2023-24 Year/Sem./Section III – II /A,B,C,D
Faculty Name & Designation B.Navya, Assistant Professor
E.Pavithra , Assistant
Professor
10. 4 CO5
Compare Backtracking and Branch and Bound method.
11. 2 CO5
Explain with an example how branch and bound technique is used to solve
knapsack problem.
12. 2 CO5
Explain General method of Branch and Bound.
SRI INDU COLLEGE OF ENGG & TECH
QUESTION BANK (Regulation :R20)
(Regulation :R20)
Department of Computer Science and Engineering
Sub. Code & Title R20CSE3203 Design and Analysis of Algorithms
Academic Year: 2023-24 Year/Sem./Section III – II /A,B,C,D
Faculty Name & Designation B.Navya, Assistant Professor
E.Pavithra , Assistant
Professor
UNIT-V
PART-A
1 MARK QUESTIONS BT COURSE
LEVEL OUTCOME
1. Define polynomial.
1 CO6
2. Define NP. 1 CO6
3. What is NP-hard problem?
1 CO6
4. What is NP-complete problem? 1 CO6
5. What is halting problem?
1 CO6
6. Define Cook’s theorem. 2 CO6
7. What is Deterministic algorithm? 1 CO6
8. What is Decision Problem? 1 CO6
9. Compare P and NP. 4 CO6
10. Differentiate between NP-Complete and NP-Hard. 4 CO6
11. Explain the P, NP, NP-Hard and NP- complete classes. 2 CO6
12. What is non deterministic algorithm explain. 1 CO6
PART-B
10 MARKS
1. Explain NP-hard and NP-Complete Classes. 2 CO6
2. Distinguish between Deterministic and non-deterministic algorithm. 4 CO6
3. What is meant by Halting problem explain with an example
1 CO6
4. Differentiate between NP-Complete and NP-Hard.
4 CO6
5. Explain Optimization problem.
2 CO6
6. Briefly explain the concepts of the NP-Hard and NP-Complete?
2 CO6
7. Explain the P, NP, NP-Hard and NP- complete classes? Give relationship between them?
2 CO6
8. State and explain Cook’s Theorem 2 CO6
9. Explain different types of NP problems.
2 CO6
10. a. How are P and NP problems related?
4 CO6
b. Differentiate Time Efficiency and Space Efficiency.
11. Explain the strategy to prove that a problem is NP-hard?
2 CO6
12. a. Write and explain the Cooks theorem.
3 CO6
b. What is non deterministic algorithm explain.