Computer Science And Engineering

Computer Science And EngineeringAlgorithmsMultiple Choice (MCQ)2 Marks
Q1.

Let G(V,E)G(V, E) be an undirected and unweighted graph with 100100 vertices. Let d(u,v)d(u, v) denote the number of edges in a shortest path between vertices uu and vv in VV. Let the maximum value of d(u,v)d(u, v), u,vVu, v \in V such that uvu \neq v, be 3030. Let TT be any breadth-first-search tree of GG. Which ONE of the given options is CORRECT for every such graph GG?

A
The height of TT is exactly 1515.
B
The height of TT is exactly 3030.
C
The height of TT is at least 1515.
D
The height of TT is at least 3030.
NEXT NODE