Daa-2marks and 10 Marksdescriptive Questions
Daa-2marks and 10 Marksdescriptive Questions
Daa-2marks and 10 Marksdescriptive Questions
UNIT-1
Questions:
2-marks
1. What is performance measurement?
2. What is an algorithm?
3. What are the characteristics of an algorithm?
4. Define Program.
5. What is recursive algorithm?
6. What is space complexity?
7. What is time complexity?
8. Define best-case step count.
9. Define the asymptotic notation Big on (0)
10-marks
UNIT-2
Questions:
2-marks
1. What is Knapsack problem?
2. What is the Greedy choice property?
3. What is greedy method?
4. What are the steps required to develop a greedy algorithm?
5. Write the general algorithm for Greedy method control abstraction.
6. Define dynamic programming.
7. What are the drawbacks of dynamic programming?
8. Define principle of optimality.
10-marks
UNIT-3
Questions:
2-marks
1) What are the factors that influence the efficiency of the backtracking algorithm?
2) State 8 Queens problem.
3) What is BFS
4) Define DFS
5) What is bi-connected component?
6) Define articulation point?
7) Define chromatic number of the graph
8) Define explicit constraint.
9) Define answer states.
10-marks
1) Write an algorithm to estimate the efficiency of backtracking?
2) Explain 4-queen problem using backtracking?
3) Explain spanning trees and minimum cost spanning trees with suitable example?
4) How many solutions are there to the eight queens problem? How many distinct solutions are
there if we do not distinguish solution that can be transformed into one another by rotations and
reflections?
5) Explain about graph coloring and Hamiltonian cycles with examples?
6) Explain about knapsack problem with example?
7) Explain about techniques for binary trees and techniques for graphs?
8) Explan about DFS?
UNIT-IV
Questions:
2-marks
4.what is TSP?
SSL
2-marks and 10-marks questions
5. What is FIFO?
10 -marks
5. What do you mean by bounding? Explain how these bounds are useful in branch and bound method?
UNIT-5
Questions:
2-marks
1.Define tractable and intractable problems
2.Explain the theory of computational complexity
3.Explain class P problems
4..Explain the halting problem
5..Explain class NP problems
10-marks
1. Prove that any two NP complete problems are polynomial turning equivalent.
2. Give brief description about the cooks theorem and prove with example.
3. Give out the relation between NP hard and NP completeness problems.
4. Discuss NP hard and NP complete problems.
5. Discuss in detail the different classes in NP hard and NP complete.
6. Explain the non deterministic sorting and searching algorithms.
7. Explain about Reduction source problems.
SSL