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
Questions 31–35 of 40
Answer: (D)
(B) True. This is exactly the statement just shown.
(A) True. Since the other cycle edge also weighs , has the same weight as , so it is an MST containing .
(C) True. If , has a weight- edge. If not, the cycle above has another edge of weight in .
(D) False. In a triangle with all three edges of weight 1, each MST uses two edges and leaves the third out, so a given edge is missing from some MST.
Answer: (D)
Which one of the following cannot be the sequence of edges added, in that order, to a minimum spanning tree using Kruskal's algorithm?
Answer: (D)
Kruskal's algorithm picks edges in non-decreasing order of weight. In option D, edge with weight is added before edge with weight . So option D cannot be a valid sequence.
Correct Answer:
Answer: (B)
A spanning tree on vertices has edges, so its weight is at least .
The path joins only adjacent vertices. Each of its edges weighs , so it reaches this lower bound.
Weight of the minimum spanning tree .
Answer: (B)
Answer: (A)
Remove from . It splits into two connected parts and . Any edge of G between and weighs at least , since otherwise swapping it for gives a lighter spanning tree. No edge weighs more than , as is the maximum. So every edge between and weighs exactly . These edges form a cutset whose edges all have maximum weight. So (A) is always true.
(B) False. If G is a tree (no cycle), its only spanning tree contains .
(C) False. In a triangle with all edges of equal weight, an MST can contain although lies on a cycle.
(D) False. A path graph with different edge weights has only one spanning tree, which contains the heaviest edge.
Answer: (A)
Let the weight of an edge e denote the congestion on that edge. The congestion on a path is defined to be the maximum of the congestions on the edges of the path. We wish to find the path from s to t having minimum congestion. Which one of the following paths is always such a path of minimum congestion?
Answer: (A)
Why the MST path works. Let be the heaviest edge on the s-t path in the MST. Removing splits the MST into two parts, one holding s and one holding t. is the lightest edge of G between the two parts, otherwise a lighter edge would give a lighter spanning tree. Any other s-t path must cross between the parts, so it has an edge at least as heavy as . So the MST path has the least congestion.
(B) fails. In the figure the shortest path is the direct edge s-t of weight 6, with congestion 6. The MST has the edges of weights 2, 3 and 4. Its s-t path s-B-t has total weight 7 but congestion , which is lower.
(C), (D) fail. An Euler walk or a Hamiltonian path is fixed by which edges and vertices it must visit, not by weight, so nothing keeps heavy edges out. Here the Euler walk s-B-t-s-C-t must use the weight-6 edge, and no Hamiltonian path from s to t exists.
Answer: (A)
Keep practising