Computer Science And Engineering

Computer Science And EngineeringAlgorithmsMultiple Select (MSQ)2 Marks
Q7.

Let GG be a directed graph and TT a depth first search (DFS) spanning tree in GG that is rooted at a vertex vv. Suppose TT is also a breadth first search (BFS) tree in GG, rooted at vv. Which of the following statements is/are TRUE for every such graph GG and tree TT ?

A
There are no back-edges in GG with respect to the tree TT
B
There are no cross-edges in GG with respect to the tree TT
C
There are no forward-edges in GG with respect to the tree TT
D
The only edges in GG are the edges in TT