GATE / CS ARCHIVE

GATE CSE 2025 SET 2 / QUESTION 10

GATE CSE 2025 Set 2 Q10

General Aptitude · Data Interpretation & Logical Reasoning · Full GATE CSE 2025 Set 2 paper

GATE 2025 Set 2, Q10 2 marks · MCQ
Report issue

Data Interpretation & Logical Reasoning

Question 10, GATE 2025: A river divides land into five zones Z1,…,Z5. A bridge over each labelled segment connects the following pair of zones: P: Z1–Z2; Q: Z1–Z3; R: Z2–Z3; S: Z1–Z5; T: Z3–Z5; U: Z5–Z4; V: Z3–Z4. Choose a listed set of bridges that connects every zone with the fewest bridges.
Options: A. P,Q,T; B. P,Q,S,T; C. Q,R,T,V; D. P,Q,S,U,V.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

Replace each land zone by a vertex and each possible bridge by an undirected edge. Connecting all five vertices requires at least 5−1=4 edges: starting from five isolated components, one edge can reduce the component count by at most one. A connected set with exactly four edges is a spanning tree and attains this lower bound.

C uses Q,R,T,V, all incident to Z3. These connect Z3 respectively to Z1,Z2,Z5,Z4, so every zone is reachable and four bridges suffice. A has only three bridges and cannot connect five vertices; in particular, it never reaches Z4. B also omits both U and V, the only links to Z4, so its four bridges do not provide connectivity. D does connect the zones, but uses five bridges and is not minimal. Thus C is the required optimal choice. The full edge-to-zone correspondence above was read from the source river map.

Original paper, page 10 · Answer key