Consider the graph given below. What is the order in which the nodes mentioned in the options are to be traversed to find the shortest path from A to Z using best first search?

A. Node-A
B. Node-B
C. Node-C
D. Node-D
E. Node-E
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. A → C → F → D → E
Explanation
Expanding the cheapest frontier node each time: A; C (2); F via C (2 + 3 = 5); D (6); E (6 + 2 = 8); then Z (12). So nodes are expanded in the order A → C → F → D → E.
More Artificial Intelligence (AI) questions
- Which of the following is related to function of layers in a neural network? → → A. Information Input layer Hidden layer → → B. Bias output…
- Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R. A: Artificial Neural Networks are the…
- Overfitting is expected when we observe that?
- The A* algorithm is optimal when,
- Which Artificial intelligence technique enables computers to understand the associations and relationships between objects & Events?
- Where does the values of alpha-beta search get updated?