GATE DA 2025 Q44: A* search: order of node expansion
- Artificial Intelligence
- 2 marks
- MCQ
- −2/3 if wrong
Question
The state graph shows the action cost along the edges and the heuristic function h associated with each state.

Suppose algorithm is applied on this state graph using priority queue to store the frontier. In what sequence are the nodes expanded?
Try it: multiple choice: exactly one correct option
Show answer and explanation
Answer: C (official GATE 2025 final answer key)
Concept used: A* expands the frontier node with the smallest .
First step: After expanding S, the frontier has A with and E with , so A is expanded next. Keep updating for each new node.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2025 DA question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key