GATE DA 2024 · Uninformed Search (BFS, DFS, UCS)

MCQ · 2 marks · Problem AI-ASRC-0048

Consider a state space where the start state is number 1. The successor function for the state numbered \(n\) returns two states numbered \(n+1\) and \(n+2\). Assume that the states in the unexpanded state list are expanded in the ascending order of numbers and the previously expanded states are not added to the unexpanded state list. Which ONE of the following statements about breadth-first search (BFS) and depth-first search (DFS) is true, when reaching the goal state number 6?
  1. A
    BFS expands more states than DFS.
  2. B
    DFS expands more states than BFS.
  3. C
    Both BFS and DFS expand equal number of states.
  4. D
    Both BFS and DFS do not reach the goal state number 6.

Solve it on GATE DA practice →More Search Strategies problems

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/422928/gate-ds%26ai-2024-question-34

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com