Minimum Spanning Trees questions

Q49

GATE CS 2026 CS-1Graph AlgorithmsMSQ2 marks
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?
More than one option can be correct.
Show answer without attempting

Answer: A, D

Q18

GATE CS 2025 CS-1Graph AlgorithmsMCQ1 mark−1/3 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 G,T,uG, T, u and vv?
Show answer without attempting

Answer: B

Q64

GATE CS 2025 CS-1Graph AlgorithmsNAT2 marks
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)
Question figure
Show answer without attempting

Answer: 5

Q37

GATE CS 2025 CS-2Graph AlgorithmsMCQ2 marks−2/3 if wrong
Let GG be an edge-weighted undirected graph with positive edge weights. Suppose a positive constant α\alpha is added to the weight of every edge.

Which ONE of the following statements is TRUE about the minimum spanning trees (MSTs) and shortest paths (SPs) in GG before and after the edge weight update?
Show answer without attempting

Answer: C

Q59

GATE CS 2024 CS-2Graph AlgorithmsNAT2 marks
The number of distinct minimum-weight spanning trees of the following graph is _________
Question figure
Show answer without attempting

Answer: 9

Q49

GATE CS 2022 CSGraph AlgorithmsMSQ2 marks
Consider a simple undirected weighted graph GG, all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of GG is/are TRUE?
More than one option can be correct.
Show answer without attempting

Answer: A, B, C

Q17

GATE CS 2021 CS-1Graph AlgorithmsNAT1 mark
Consider the following undirected graph with edge weights as shown:
The number of minimum-weight spanning trees of the graph is ______.
Question figure
Show answer without attempting

Answer: 3

Q1

GATE CS 2021 CS-2Graph AlgorithmsMCQ1 mark−1/3 if wrong
Let GG be a connected undirected weighted graph. Consider the following two statements.

S1S_1: There exists a minimum weight edge in GG which is present in every minimum spanning tree of GG.
S2S_2: If every edge in GG has distinct weight, then GG has a unique minimum spanning tree.

Which one of the following options is correct?
Show answer without attempting

Answer: C

Q31

GATE CS 2020 CSGraph AlgorithmsMCQ2 marks−2/3 if wrong
Let G=(V,E)G = (V, E) be a weighted undirected graph and let TT be a Minimum Spanning Tree (MST) of GG maintained using adjacency lists. Suppose a new weighted edge (u,v)∈V×V(u, v) \in V \times V is added to GG. The worst case time complexity of determining if TT is still an MST of the resultant graph is
Show answer without attempting

Answer: D

Q49

GATE CS 2020 CSGraph AlgorithmsNAT2 marks
Consider a graph G=(V,E)G = (V, E), where V={v1,v2,…,v100}V = \{v_1, v_2, \ldots, v_{100}\}, E={(vi,vj)∣1≤i<j≤100}E = \{(v_i, v_j) \mid 1 \le i < j \le 100\}, and weight of the edge (vi,vj)(v_i, v_j) is ∣i−j∣|i - j|. The weight of minimum spanning tree of GG is __________.
Show answer without attempting

Answer: 99

Q38

GATE CS 2019 CSGraph AlgorithmsMCQ2 marks−2/3 if wrong
Let GG be any connected, weighted, undirected graph.

I. GG has a unique minimum spanning tree, if no two edges of GG have the same weight.
II. GG has a unique minimum spanning tree, if, for every cut of GG, there is a unique minimum-weight edge crossing the cut.

Which of the above two statements is/are TRUE?
Show answer without attempting

Answer: C

Q47

GATE CS 2018 CSGraph AlgorithmsNAT2 marks
Consider the following undirected graph G:

Choose a value for xx that will maximize the number of minimum weight spanning trees (MWSTs) of G. The number of MWSTs of G for this value of xx is ______.
Question figure
Show answer without attempting

Answer: 4

Q26

GATE CS 2017 CS-1Graph AlgorithmsMCQ2 marks−2/3 if wrong
Let G=(V,E)G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges in EE are positive and distinct. Consider the following statements:

(I) Minimum Spanning Tree of GG is always unique.
(II) Shortest path between any two vertices of GG is always unique.

Which of the above statements is/are necessarily true?
Show answer without attempting

Answer: A

Q14

GATE CS 2016 CS-1Graph AlgorithmsMCQ1 mark−1/3 if wrong
Let GG be a weighted connected undirected graph with distinct positive edge weights. If every edge weight is increased by the same value, then which of the following statements is/are TRUE?

P: Minimum spanning tree of GG does not change
Q: Shortest path between any pair of vertices does not change
Show answer without attempting

Answer: A

Q39

GATE CS 2016 CS-1Graph AlgorithmsNAT2 marks
Let G be a complete undirected graph on 4 vertices, having 6 edges with weights being 1, 2, 3, 4, 5, and 6. The maximum possible weight that a minimum weight spanning tree of G can have is ________.
Show answer without attempting

Answer: 7.0

Q40

GATE CS 2016 CS-1Graph AlgorithmsMCQ2 marks−2/3 if wrong
G = (V,E) is an undirected simple graph in which each edge has a distinct weight, and e is a particular edge of G. Which of the following statements about the minimum spanning trees (MSTs) of G is/are TRUE?

I. If e is the lightest edge of some cycle in G, then every MST of G includes e
II. If e is the heaviest edge of some cycle in G, then every MST of G excludes e
Show answer without attempting

Answer: B

Q55

GATE CS 2015 CS-3Graph AlgorithmsNAT2 marks
Let GG be a connected undirected graph of 100 vertices and 300 edges. The weight of a minimum spanning tree of GG is 500. When the weight of each edge of GG is increased by five, the weight of a minimum spanning tree becomes ____________.
Show answer without attempting

Answer: 995

Q63

GATE CS 2015 CS-1Graph AlgorithmsNAT2 marks
The graph shown below has 8 edges with distinct integer edge weights. The minimum spanning tree (MST) is of weight 36 and contains the edges: {(A, C), (B, C), (B, E), (E, F), (D, F)}. The edge weights of only those edges which are in the MST are given in the figure shown below. The minimum possible sum of weights of all 8 edges of this graph is ________.
Question figure
Show answer without attempting

Answer: 69

Q29

GATE CS 2012 CSGraph AlgorithmsMCQ2 marks−2/3 if wrong
Let GG be a weighted graph with edge weights greater than one and G′G' be the graph constructed by squaring the weights of edges in GG. Let TT and T′T' be the minimum spanning trees of GG and G′G', respectively, with total weights tt and t′t'. Which of the following statements is TRUE?
Show answer without attempting

Answer: Marks to all

0/200 correct0 marks

Related topics in Graph Algorithms