Minimum Spanning Tree: GATE CS Previous Year Questions

Minimum Spanning Tree · Algorithms

40 questions · asked in 23 of 27 years (2000–2026)

MCQ 26 · MSQ 3 · NAT 111-mark 16 · 2-mark 24

2000Questions per year2026

Questions 1–5 of 40

Q1GATE 2026 (Session 1)2 marksMSQ
Let G(V,E)G(V, E) be a simple, undirected, edge-weighted graph with unique edge weights. Which of the following statements about the minimum spanning trees (MST) of GG is/are true?

One or more options are correct.

Q2GATE 2026 (Session 2)2 marksMCQ−0.67 if wrong
Consider a complete graph KnK_{n} with nn vertices ( n>4n>4 ). Note that multiple spanning trees can be constructed over KnK_{n}. Each of these spanning trees is represented as a set of edges. The Jaccard coefficient between any two sets is defined as the ratio of the size of the intersection of the two sets to the size of the union of the two sets.

Which one of the following options gives the lowest possible value for the Jaccard coefficient between any two spanning trees of KnK_{n} ?

Q3GATE 2025 (Session 1)1 markMCQ−0.33 if wrong
Let GG be any undirected graph with positive edge weights, and TT be a minimum spanning tree of GG. For any two vertices, uu and vv, let d1(u,v)d_1(u, v) and d2(u,v)d_2(u, v) be the shortest distances between uu and vv in GG and TT, respectively. Which ONE of the options is CORRECT for all possible GG, TT, uu, and vv?

Q4GATE 2025 (Session 1)2 marksNAT
The maximum value of xx such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is _________. (Answer in integer)
ABDC 7136x8

Q5GATE 2024 (Session 1)1 markNAT
The number of spanning trees in a complete graph of 4 vertices labelled A, B, C, and D is _________

Keep practising

Topics in Algorithms

All CS topics ›