MCQOPTIONS
Saved Bookmarks
| 1. |
Given below are some algorithms, and some algorithm design paradigms.1. Dijkstra’s Shortest Pathi. Divide and Conquer2. Floyd-Warshall algorithm to compute all pairs shortest pathii. Dynamic Programming3. Binary search on a sorted arrayiii. Greedy design4. Backtracking search on a graphiv. Depth-first search v. Breadth-first search Match the above algorithms on the left to the corresponding design paradigm they follow. |
| A. | 1 – i, 2 – iii, 3 – i, 4 – v. |
| B. | 1 – iii, 2 – iii, 3 – i, 4 – v. |
| C. | 1 – iii, 2 – ii, 3 – i, 4 – iv. |
| D. | 1 – iii, 2 – ii, 3 – i, 4 – v. |
| Answer» D. 1 – iii, 2 – ii, 3 – i, 4 – v. | |