Question:medium

Match LIST-I with LIST-II \[\begin{array}{|c|c|}\hline \text{LIST-I (Evaluate an algorithm's performance)} & \text{LIST-II (Meaning)} \\ \hline \text{A. Completeness} & \text{III. Is the algorithm guaranteed to find a solution when there is one, and to correctly report failure when there is none?} \\ \hline \text{B. Cost optimality} & \text{IV. Does it find a solution with the lowest path cost of all solutions?} \\ \hline \text{C. Time complexity} & \text{I. How long does it take to find a solution? This can be measured in seconds, or more abstractly by the number of states and actions considered.} \\ \hline \text{D. Space complexity} & \text{II. How much memory is needed to perform the operation?} \\ \hline \end{array}\] Choose the correct answer from the options given below:

Show Hint

Time complexity, space complexity, and cost optimality are important considerations in evaluating an algorithm's efficiency.
Updated On: Jan 17, 2026
  • 1. A - III, B - IV, C - I, D - II
  • 2. A - I, B - III, C - I, D - IV
  • 3. A - I, B - II, C - IV, D - III
  • 4. A - II, B - IV, C - III, D - I
Show Solution

The Correct Option is A

Solution and Explanation

- A - Completeness: This assesses if the algorithm reliably finds a solution when one is available and correctly indicates failure when no solution exists. This aligns with III.

- B - Cost optimality: This describes the algorithm's capability to identify the solution with the minimum path cost. This aligns with IV.

- C - Time complexity: This quantifies the algorithm's execution duration, typically expressed by the number of states and actions processed. This aligns with I.

- D - Space complexity: This refers to the memory resources needed for the algorithm's operation. This aligns with II.


Step 2: Conclusion.
The correct pairings are: A - III, B - IV, C - I, D - II.
Was this answer helpful?
0