Question
Data Science and Artificial Intelligence Question on Binary Operations
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 ?
BFS expands more states than DFS.
DFS expands more states than BFS.
Both BFS and DFS expand equal number of states.
Both BFS and DFS do not reach the goal state number 6.
Both BFS and DFS expand equal number of states.
Solution
The correct option is (C) : Both BFS and DFS expand equal number of states..