Skip to content

Algorithms

What is the name for an algorithmic technique that incrementally builds candidates and abandons ones that fail to satisfy constraints?

Difficulty: Hard

About this MCQ

This Hard Algorithms MCQ checks one syllabus fact.

The question is: “What is the name for an algorithmic technique that incrementally builds candidates and abandons ones that fail to satisfy constraints?”

The accepted answer is D. Backtracking. Backtracking is the fact required by “What is the name for an algorithmic technique that incrementally builds candidates and abandons ones that fail to satisfy constraints” (option D). Option A (“Dijkstra's algorithm”) does not match the stem; it is a near-miss used to catch incomplete recall of Backtracking. Option B (“Bubble sort”) does not match the stem; it is a near-miss used to catch incomplete recall of Backtracking. Remaining alternatives (Depth-first search (DFS)) fall outside the same rule and should be eliminated once Backtracking is identified. Algorithms questions of this type reward precise definitions rather than approximate associations. Algorithms recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Correct answer

D. Backtracking

Explanation

Backtracking is the fact required by “What is the name for an algorithmic technique that incrementally builds candidates and abandons ones that fail to satisfy constraints” (option D). Option A (“Dijkstra's algorithm”) does not match the stem; it is a near-miss used to catch incomplete recall of Backtracking. Option B (“Bubble sort”) does not match the stem; it is a near-miss used to catch incomplete recall of Backtracking. Remaining alternatives (Depth-first search (DFS)) fall outside the same rule and should be eliminated once Backtracking is identified. Algorithms questions of this type reward precise definitions rather than approximate associations. Algorithms recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Source: Algorithms Official Reference Guide

Tags: computer science, algorithms, problem solving, complexity analysis

Submitted by: MCQsHub Editorial

Related MCQs

More Algorithms MCQs