GATE IT 2007 · Graph Traversals (BFS & DFS)

MCQ · 1 mark · Problem PROG-GRPH-0100

Consider a weighted, undirected graph with positive edge weights and let \(uv\) be an edge in the graph. It is known that the shortest path from the source vertex \(s\) to \(u\) has weight 53 and the shortest path from \(s\) to \(v\) has weight 65. Which one of the following statements is always TRUE?
  1. A
    Weight \((u,v) \leq 12\)
  2. B
    Weight (u,v) = 12
  3. C
    Weight \((u,v) \geq 12\)
  4. D
    Weight (u,v) > 12

Solve it on GATE DA practice →More Graph Theory & Algorithms problems

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/3434/gate2007-it-3-ugcnet-june2012-iii-34

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com