Given below are two statements
Statement I: Breadth‐First Search is optimal when all the step costs are equal whereas uniform‐cost search is optimal with any step‐cost.
Statement II: When all the step costs are same uniform‐cost search expends more nodes at depth d than the Breadth‐First Search. In light of the above statements, choose the correct answer from the options given below
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. Both Statement I and Statement II are true
Explanation
BFS is optimal when all step costs are equal; uniform-cost search is optimal for any non-negative step costs. With equal costs UCS still expands the whole depth-d level before goal-testing, so it does more work than BFS. Both true.
More Artificial Intelligence (AI) questions
- Consider the game tree shown (root A is MAX; B and C are MIN; D, E, F, G are MAX with leaves D: 3, 5; E: 6, 9; F: 1, 2; G: 0, −1). Calculat…
- Which among the following statement(s) is(are) FALSE? A. Greedy best‐first search is not optimal but is often efficient. A* B. is complete…
- Consider the sentence: There is a country that borders both India and Pakistan. Which expression is correct, where Country(x) means x is a…
- The marginal probability of cavity P(cavity) is __________.
- The probability of a cavity, given evidence of a toothache, P(cavity | toothache) is __________.
- The probability of a toothache, given evidence of a cavity, P(toothache | cavity) is __________.