Graph Algorithms questions

Q17

GATE CS 2021 CS-1Graph AlgorithmsNAT1 mark
Consider the following undirected graph with edge weights as shown:
The number of minimum-weight spanning trees of the graph is ______.
Question figure
Show answer without attempting

Answer: 3

Q41

GATE CS 2021 CS-1Graph AlgorithmsMSQ2 marks
An 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 TT be a DFS tree obtained by doing DFS in a connected undirected graph GG.
Which of the following options is/are correct?
More than one option can be correct.
Show answer without attempting

Answer: B

Q1

GATE CS 2021 CS-2Graph AlgorithmsMCQ1 mark−1/3 if wrong
Let GG be a connected undirected weighted graph. Consider the following two statements.

S1S_1: There exists a minimum weight edge in GG which is present in every minimum spanning tree of GG.
S2S_2: If every edge in GG has distinct weight, then GG has a unique minimum spanning tree.

Which one of the following options is correct?
Show answer without attempting

Answer: C

Q46

GATE CS 2021 CS-2Graph AlgorithmsMSQ2 marks
Consider the following directed graph:

Which of the following is/are correct about the graph?
Question figure
More than one option can be correct.
Show answer without attempting

Answer: A, B

Q55

GATE CS 2021 CS-2Graph AlgorithmsNAT2 marks
In a directed acyclic graph with a source vertex ss, the quality-score of a directed path is defined to be the product of the weights of the edges on the path. Further, for a vertex vv other than ss, the quality-score of vv is defined to be the maximum among the quality-scores of all the paths from ss to vv. The quality-score of ss is assumed to be 1.

The sum of the quality-scores of all the vertices in the graph shown above is ____________.
Question figure
Show answer without attempting

Answer: 929

0/50 correct0 marks

Related topics in Algorithms