Design techniques: divide-and-conquer, dynamic programming, greedy algorithms, backtracking and branch-and-bound. - Online Test
30:00
1. Which design technique is characterized by breaking down a problem into smaller, independent subproblems of the same type?
2. In which design technique are solutions to subproblems solved only once and their results stored to avoid recomputation?
3. What is the core principle of a Greedy Algorithm?
4. Which technique explores potential solutions by incrementally building a candidate solution and abandoning it if it's determined that it cannot lead to a valid solution?
5. Branch and Bound is primarily used for solving which type of problems?
6. Which of the following algorithms is a classic example of the Divide and Conquer technique?
7. The Floyd-Warshall algorithm, which finds all-pairs shortest paths, is an example of which design technique?
8. Which design technique is characterized by exploring all possible paths in a state-space tree?
9. Consider the problem of finding the minimum number of coins to make a given amount. Which technique is generally NOT suitable for this problem if we want the optimal solution?
10. In the context of Branch and Bound, what is a 'bound' used for?
Test Results
0/0