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 6–10 of 40

Q6GATE 2024 (Session 2)2 marksMSQ
Let GG be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in GG has even weight. Which of the following statements is/are TRUE for every such graph GG ?

One or more options are correct.

Q7GATE 2024 (Session 2)2 marksNAT
The number of distinct minimum-weight spanning trees of the following graph is _______
abfgced 123212322211

Q8GATE 20222 marksMSQ
Consider a simple undirected weighted graph G, all of whose edge weights are distinct. Which of the following statements about the minimum spanning trees of G is/are TRUE?

One or more options are correct.

Q9GATE 20222 marksNAT
Let G(V,E)G(V, E) be a directed graph, where V={1,2,3,4,5}V = \{1, 2, 3, 4, 5 \} is the set of vertices and EE is the set of directed edges, as defined by the following adjacency matrix AA.
A[i][j]={11≤j≤i≤50otherwiseA[i][j]= \left \{ \begin{matrix} 1 &1 \leq j \leq i \leq 5 \\ 0& otherwise \end{matrix} \right.
A[i][j]=1A[i][j]=1indicates a directed edge from node ii to node jj. A directed spanning tree of GG, rooted at r∈Vr \in V , is defined as a subgraph TT of GG such that the undirected version of TT is a tree, and TT contains a directed path from rr to every other vertex in VV. The number of such directed spanning trees rooted at vertex 5 is ____

Q10GATE 2021 (Session 1)1 markNAT
Consider the following undirected graph with edge weights as shown:
0.10.1 0.90.90.9 0.10.9 0.10.10.1 0.90.1
The number of minimum-weight spanning trees of the graph is __________

Keep practising

Topics in Algorithms

All CS topics ›