GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2025 set1

GATE 2025 set1 · CS · MCQ · 2 marks · Algorithms › Graph Algorithms

GATE 2025 set1 Computer Science and Information Technology question: Let G(V, E) be an undirected and unweighted graph with 100 vertices. Let d(u, v) denote…

Let be an undirected and unweighted graph with 100 vertices. Let denote the number of edges in a shortest path between vertices and in . Let the maximum value of , such that , be 30. Let be any breadth-first-search tree of . Which ONE of the given options is CORRECT for every such graph ?

  1. (A)

    The height of is exactly 15.

  2. (B)

    The height of is exactly 30.

  3. (C)

    The height of is at least 15.

  4. (D)

    The height of is at least 30.

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion