The length of the path from v5 to v6 in the MST of previous question with n = 10 is
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2011 · Q55
Time
Select one answerSingle correct
Solution
Official answer: C) 31
Minimum Spanning TreesFrom the previous question, the edges present in the MST are:
Edge with weight .
Edges with weight for all .
In the MST, the vertices are connected in two chains through alternating nodes linked together at and :
The odd chain:
The edge between chains:
The even chain:
Thus, the unique simple path from to in the MST is:
The edges on this path and their weights are:
: weight
: weight
: weight
: weight
: weight
Total length of the path:
Therefore, option C is the correct choice.
Try the question first, then check your work.
Examiner trap
Trace the path from to using the MST edges identified in the previous question: .
This Minimum Spanning Trees previous year question is Q55 of the GATE CSE 2011 paper. Find more GATE CSE PYQs on Minimum Spanning Trees in Algorithms, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Minimum Spanning Trees PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Minimum Spanning Trees has 13 GATE CSE PYQs across 9 papers from 2011 to 2026. 5 of them are 2-mark MCQs like this one, and GATE CSE 2011 has 2.
How GATE tests Minimum Spanning TreesIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.