GATE CS 2021 Set 1 | Question 51
Algorithms › Graph Algorithms · MSQ · 2 marks · Answer: B, D
- Question 51Algorithmsmsq2 marksAn *articulation point* in a connected graph is a vertex such that removing the vertex and its incident edges disconnects the graph into two or more connected components. Let be a DFS tree obtained by doing DFS in a connected undirected graph . Which of the following options is/are correct?
- A.Root of can never be an articulation point in .
- B.Root of is an articulation point in if and only if it has 2 or more children.✓
- C.A leaf of can be an articulation point in .
- D.If is an articulation point in such that is an ancestor of in and is a descendent of in , then all paths from to in must pass through .✓
Answer: B, D
Solution
The DFS-tree characterization: the root is an articulation point iff it has children (B true, A false). A leaf is never an articulation point (C false). The ancestor–descendant separation property (D) holds for any articulation point. The official key is (B), (D). - A.
More GATE PYQ on Graph Algorithms
All GATE CS Algorithms PYQ →Attempt GATE CS 2021 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →