Computer Science And Engineering

Computer Science And EngineeringAlgorithmsMultiple Choice (MCQ)1 Mark
Q2.

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 GG, TT, uu and vv?

A
d1(u,v)=d2(u,v)d_1(u, v) = d_2(u, v)
B
d1(u,v)d2(u,v)d_1(u, v) \le d_2(u, v)
C
d1(u,v)d2(u,v)d_1(u, v) \ge d_2(u, v)
D
d1(u,v)d2(u,v)d_1(u, v) \ne d_2(u, v)