Skip to content

GATE CS Minimum Spanning Trees questions

Practise Minimum Spanning Trees questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2026AlgorithmsMinimum Spanning TreesMSQ · 2 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?
Official PYQ2025AlgorithmsMinimum Spanning TreesMCQ · 1 mark
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 ?
Official PYQ2025AlgorithmsMinimum Spanning TreesNAT · 2 marks
The maximum value of x\text{x} such that the edge between the nodes B\text{B} and C\text{C} is included in every minimum spanning tree of the given graph is _________. (answer in integer)
Official PYQ2025AlgorithmsMinimum Spanning TreesMCQ · 2 marks
​​​​Let G\text{G} 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 G\text{G} before and after the edge weight update?
Official PYQ2024AlgorithmsMinimum Spanning TreesNAT · 2 marks
The number of distinct minimum-weight spanning trees of the following graph is
Official PYQ2022AlgorithmsMinimum Spanning TreesMSQ · 2 marks
Consider a simple undirected weighted graph G,\textit{G}, all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of G\textit{G} is/are TRUE?\text{TRUE}?
Official PYQ2022AlgorithmsMinimum Spanning TreesNAT · 2 marks
Let G(V,E)\textit{G(V,E)} be a directed graph, where V={1,2,3,4,5}\textit{V} = \{ 1, 2, 3, 4, 5 \} is the set of vertices and E\textit{E} is the set of directed edges, as defined by the following adjacency matrix A.\textit{A}. A[i][j]={1,1≤j≤i≤50,otherwiseA [i][j] = \left\{\begin{matrix} 1, & 1 \leq j \leq i \leq 5 \\ 0, & \text{otherwise}\end{matrix}\right. A[i][j]=1A[i][j] = 1 …
Official PYQ2021AlgorithmsMinimum Spanning TreesNAT · 1 mark
Consider the following undirected graph with edge weights as shown: The number of minimum-weight spanning trees of the graph is ___________.
Official PYQ2021AlgorithmsMinimum Spanning TreesMCQ · 1 mark
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?
Official PYQ2021AlgorithmsMinimum Spanning TreesMSQ · 2 marks
Consider the following directed graph: Which of the following is/are correct about the graph?
Official PYQ2020AlgorithmsMinimum Spanning TreesMCQ · 2 marks
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 weighed 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
Official PYQ2020AlgorithmsMinimum Spanning TreesNAT · 2 marks
Consider a graph G=(V,E)G = (V,E), where V={v1,v2,…,v100}V = \{v_1,v_2, \dots ,v_{100}\}, E={(vi,vj)∣1≤i<j≤100}E = \{(v_i,v_j) \mid 1\leq i < j \leq 100\}, and weight of the edge (vi,vj)(v_i,v_j) is ∣i–j∣\mid i – j \mid. The weight of minimum spanning tree of GG is _________
Official PYQ2018AlgorithmsMinimum Spanning TreesNAT · 2 marks
Consider the following undirected graph GG: Choose a value for xx that will maximize the number of minimum weight spanning trees (MWSTs) of GG. The number of MWSTs of GG for this value of xx is ____.
Official PYQ2016AlgorithmsMinimum Spanning TreesMCQ · 1 mark
G=(V,E)G=(V, E) is an undirected simple graph in which each edge has a distinct weight, and ee is a particular edge of GG. Which of the following statements about the minimum spanning trees (MSTs)(MSTs) of GG is/are TRUE? If ee is the lightest edge of some cycle in GG, then every MST of GG includes ee. If ee is the heaviest edge of some …
Official PYQ2016AlgorithmsMinimum Spanning TreesNAT · 1 mark
Let GG be a complete undirected graph on 44 vertices, having 66 edges with weights being 1,2,3,4,5,1, 2, 3, 4, 5, and 66. The maximum possible weight that a minimum weight spanning tree of GG can have is __________
Official PYQ2016AlgorithmsMinimum Spanning TreesMCQ · 1 mark
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? PP: Minimum spanning tree of GG does not change. QQ: Shortest path between any pair of vertices does not change.
Official PYQ2015AlgorithmsMinimum Spanning TreesNAT · 1 mark
The graph shown below has 88 edges with distinct integer edge weights. The minimum spanning tree (MST) is of weight 3636 and contains the edges: {(A,C),(B,C),(B,E),(E,F),(D,F)}\{(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 88 edges of this …
Official PYQ2015AlgorithmsMinimum Spanning TreesNAT · 1 mark
Let GG be a connected undirected graph of 100100 vertices and 300300 edges. The weight of a minimum spanning tree of GG is 500500. When the weight of each edge of GG is increased by five, the weight of a minimum spanning tree becomes ______.
Official PYQ2014AlgorithmsMinimum Spanning TreesNAT · 1 mark
The number of distinct minimum spanning trees for the weighted graph below is _____
Official PYQ2012AlgorithmsMinimum Spanning TreesMCQ · 1 mark
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?