Skip to content
Related Articles

Related Articles

GATE | GATE CS Mock 2018 | Question 37

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 03 Jan, 2018

Let G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges in E are positive. Consider the following statements:

  1. The path between a pair of vertices in a minimum spanning tree of an undirected graph is necessarily the shortest (minimum weight) path.
  2. Minimum Spanning Tree of G is always unique and shortest path between a pair of vertices may not be unique.

Which of the above statements is/are necessarily true?
(A) (1) only
(B) (2) only
(C) both (1) and (2)
(D) neither (1) nor (2)

Answer: (D)

Explanation: Since, edge weights are not defined. If edge weights are distinct then MST is always unique but may not be shortest paths.

 \                    /

And, if edge weights are not distinct then both MST and shorted paths are not unique.

 \                    /

So, both statements are false.
Option (D) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!