GATE CS 2017, set 1 · Question 5 · Algorithms · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Consider the following table:
Match the algorithms to the design paradigms they are based on.
| Algorithms | Design Paradigms |
|---|---|
| (P) Kruskal | (i) Divide and Conquer |
| (Q) Quicksort | (ii) Greedy |
| (R) Floyd-Warshall | (iii) Dynamic Programming |
- (A) (P) ↔ (ii), (Q) ↔ (iii), (R) ↔ (i)
- (B) (P) ↔ (iii), (Q) ↔ (i), (R) ↔ (ii)
- (C) (P) ↔ (ii), (Q) ↔ (i), (R) ↔ (iii)
- (D) (P) ↔ (i), (Q) ↔ (ii), (R) ↔ (iii)
Answer
Answer (C)
Answer from the official GATE CS 2017 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes