GATE DA 2025, Q.44: Order of node expansion in A*
The question
For the graph in the figure (nodes S, A, B, C, D, E, G with edge costs and heuristic values), what is the order in which A* expands nodes using a priority queue?
- (A) S, A, E, C, B, D, G
- (B) S, E, A, C, B, D, G
- (C) S, A, E, B, C, D, G
- (D) S, A, B, E, C, D, G
This question uses a figure in the official paper. Not readable: the weighted graph is an image. Text lists nodes S, A, E, B, C, D, G, edge costs 4, 1, 2, 2, 3, 2, 3 and h values 2, 2, 6, 2, 0, 6 without their pairing. See the official paper.
Checking your access…
The answer and full solution are in the GATE DA past-paper pack. All 195 questions from 2024, 2025 and 2026, each solved step by step and checked against the official key. ₹499, lifetime access.
What's in the pack · 60 questions are free to try.
Unlock this solution and every other question. ₹499, one payment, lifetime access.
Could not load the solution. Refresh the page, or email hello@gradientlab.dev.
See it move
Learn the idea behind this question in the free animated lesson Agents and rewards.
Source: official GATE DA 2025 question paper and answer key (IIT Roorkee). The question is lightly reworded; every number and option is kept.