The number of spanning trees in a complete graph of 4 vertices labelled A, B, C, and D is …
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2024 Set 1 · Q34
Time
Your answerNumerical answer
Solution
Official answer: 16 (±0)
Graph TheoryAccording to Cayley's Formula, the number of spanning trees in a labeled complete graph with vertices is given by:
For :
Thus, the total number of spanning trees is 16.
Try the question first, then check your work.
Examiner trap
Use Cayley's formula for the number of spanning trees in a labeled complete graph , which is .
This Graph Theory previous year question is Q34 of the GATE CSE 2024 Set 1 paper. Find more GATE CSE PYQs on Graph Theory in Engineering Mathematics, 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 Graph Theory 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.
Graph Theory has 21 GATE CSE PYQs across 14 papers from 2012 to 2026. 3 of them are 1-mark NAT questions like this one, and GATE CSE 2024 Set 1 has 3.
How GATE tests Graph TheoryIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.