Cut Vertices Multiple Choice Questions and Answers (MCQs)

This set of Data Structures & Algorithms Multiple Choice Questions & Answers (MCQs) focuses on “Cut Vertices”.

1. A vertex in a graph, on the removal of whose increases the number of connected components is called?
a) Articulation point
b) Bridge
c) Edge connectivity
d) Independent set
View Answer

Answer: a
Explanation: In a simple graph G with V vertices and E edges, there exist a vertex on removal of who’s the graph gets disconnected, this vertex is called the articulation point of the graph. Corresponding edges of the vertices are also removed from the graph.

2. Which of the following algorithm can be used for finding articulation points in a graph?
a) Simplex algorithm
b) Aging algorithm
c) Tarjan’s algorithm
d) DSW algorithm
View Answer

Answer: c
Explanation: Tarjan’s algorithm: We can use a simple DFS algorithm and make small changes. Let us consider the first case where we apply the DFS algorithm from a vertex v, which is root and if and only if v has more than one child in the DFS tree, it is said to be the articulation point. In the second case, we apply the DFS algorithm from a vertex v which is not the root. If the current edge (v, e) is such a way that neither e nor its descendants have a back edge to any of the ancestors of v, then vertex v is said to be the articulation point.

3. What will be the cut vertex set of the graph given below?
Find the cut vertex set from the graph
a) {C, A}
b) {C, F}
c) {A, E}
d) {B, F}
View Answer

Answer: b
Explanation: Removal of a set of vertices from a graph will make a graph disconnected, this is called a cut vertex set of a graph. The edges are also deleted along with the vertices. The removal of the vertex C and F along with their edges will make the graph disconnected. Hence, the cut vertex set of the graph will be {C, F}. The removal of the vertex D and B will also make the graph disconnected.
advertisement
advertisement

4. What will be the time complexity of the brute force approach used to find the articulation points in a given graph?

For every vertex V, do: 
Remove V from the graph  
See if the graph remains connected 
If graph is disconnected, add V to the resultant set  
Add V back to the graph 

a) O(V*(V + E))
b) O(V log V)
c) O(V + log V)
d) O(E log V)
View Answer

Answer: a
Explanation: In a graph G with V vertices and E edges, this brute force approach removes all vertices one by one and checks whether the removal of a vertex gives a disconnected graph or not. Hence, if the graph is represented using the adjacency list, then the time complexity of this approach will be O(V*(V + E)).
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

5. The pendant vertex of the graph can also be an articulation point of the graph.
a) True
b) False
View Answer

Answer: b
Explanation: A vertex with degree one is called a pendant vertex or end vertex. A vertex of which the deletion disconnects the graph is called a cut vertex. The deletion of the end vertex doesn’t lead the graph to be disconnected. Hence, end vertices cannot be cut vertices.

6. A connected graph has a maximum of (n – 2) cut vertices.
a) True
b) False
View Answer

Answer: a
Explanation: Removal of a cut vertex from a graph, may give a disconnected graph. This increases the number of connected components in the graph. The leaves of any tree of order n has at least two vertices that are not cut vertices. Hence, any spanning tree of the graph has a maximum of n – 2 articulation points.
advertisement

7. In which of the following applications can we use the concept of articulation points?
a) Designing a microprocessor
b) Designing a router
c) Designing a network
d) Designing a building
View Answer

Answer: c
Explanation: The concept of articulation points can be used to design a network, to find vulnerabilities in a network. If there is a point in a network, which divides the whole network into more than two parts, then the failure of this point might lead to vulnerabilities in a network. Hence, they are very useful in designing a reliable network.

8. Which among the following best represents the time complexity to find articulate points in a graph?
a) O(V)
b) O(E)
c) O(V + E)
d) O(V * E)
View Answer

Answer: c
Explanation: To find articulate points in a graph, we use the DFS algorithm with additional arrays. Time required for DFS is O(V+E) when the graph is stored in the adjacency list. Hence, the time complexity to find articulate points is O(V + E). 
advertisement

9. A biconnected graph contains how many cut vertices?
a) At least one
b) At most one
c) Zero
d) Only one
View Answer

Answer: c
Explanation: There are no cut vertices for a biconnected graph. It is a non-separable graph, if any vertex is removed from the graph, the graph will remain connected. Such types of graphs are called a biconnected graph.

Sanfoundry Global Education & Learning Series – Data Structures & Algorithms.

To practice all areas of Data Structures & Algorithms, here is complete set of 1000+ Multiple Choice Questions and Answers.

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.