Total Questions : 50
Expected Time : 50 Minutes

1. What is the purpose of the 'state transition diagram' in dynamic programming?

2. What is the time complexity of a well-implemented dynamic programming solution?

3. What is the primary drawback of using the top-down approach in Dynamic Programming?

4. In dynamic programming, what is memoization?

5. What is the primary reason for using Dynamic Programming in algorithm design?

6. In the context of Dynamic Programming, what is the purpose of the 'base case'?

7. What is the role of the 'transition equation' in dynamic programming?

8. What is the primary disadvantage of using Dynamic Programming?

9. In the context of dynamic programming, what does the term 'bottom-up approach' mean?

10. What is the primary reason for using Dynamic Programming in optimization problems?

11. How does Dynamic Programming differ from Divide and Conquer?

12. How does Dynamic Programming contribute to solving the edit distance problem?

13. What is the top-down approach in Dynamic Programming?

14. Which of the following is a disadvantage of the bottom-up approach in Dynamic Programming?

15. In the context of Dynamic Programming, what does the term 'optimal substructure' refer to?

16. What is the primary challenge in solving the subset sum problem using Dynamic Programming?

17. In dynamic programming, what is a 'bottom-up table' used for?

18. What is an optimal substructure in the context of Dynamic Programming?

19. What does the term 'tabulation' refer to in the context of Dynamic Programming?

20. What is the bottom-up approach in Dynamic Programming?

21. What is a key advantage of using dynamic programming in algorithmic problem-solving?

22. Which of the following is a classic example of a problem solved using dynamic programming?

23. What type of problems is dynamic programming particularly effective in solving?

24. In the context of Dynamic Programming, what is the 'knapsack problem' and how is it solved?

25. What is the primary limitation of using Dynamic Programming for problems with non-optimal substructure?

26. Explain the role of the 'state' in a Dynamic Programming problem.

27. Which term describes storing the results of expensive function calls and returning the cached result when the same inputs occur again?

28. What is a common application of dynamic programming in computer science?

29. Explain the concept of the 'optimal substructure' property in Dynamic Programming.

30. What distinguishes a 'greedy algorithm' from a 'dynamic programming algorithm'?

31. What is the primary advantage of using memoization in Dynamic Programming?

32. What is the time complexity of the matrix chain multiplication problem using Dynamic Programming?

33. What is the key advantage of memoization in Dynamic Programming?

34. What is the time complexity of the longest common subsequence (LCS) problem using Dynamic Programming?

35. How does dynamic programming differ from greedy algorithms?

36. Which of the following scenarios is a classic example of a problem suited for Dynamic Programming?

37. Which of the following is a key characteristic of problems suitable for Dynamic Programming?

38. What is the primary challenge in solving problems with an 'exponential growth of subproblems' using Dynamic Programming?

39. In Dynamic Programming, what is a subproblem?

40. Which dynamic programming concept involves solving a problem by solving its subproblems only once and storing the solutions?

41. How does Dynamic Programming address the issue of 'state explosion'?

42. Which of the following is a common pitfall in Dynamic Programming?

43. Which is a common application of Dynamic Programming?

44. What is the key difference between top-down and bottom-up dynamic programming approaches?

45. Explain the concept of state transition in the context of Dynamic Programming.

46. In the context of Dynamic Programming, what is the difference between top-down and bottom-up approaches?

47. What is the Levenshtein distance, and how is it calculated using Dynamic Programming?

48. What is a common approach for solving problems using dynamic programming?

49. What is the Fibonacci sequence's time complexity using a dynamic programming approach?

50. Why is dynamic programming considered a powerful technique in algorithmic problem-solving?