GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set2

GATE 2021 set2 · CS · MSQ · 2 marks · Algorithms › Graph Algorithms

GATE 2021 set2 Computer Science and Information Technology question: Consider the following directed graph: Which of the following is/are correct about the…

Consider the following directed graph:

figure

Which of the following is/are correct about the graph?

  1. (A)

    The graph does not have a topological order.

  2. (B)

    A depth-first traversal starting at vertex S classifies three directed edges as back edges.

  3. (C)

    The graph does not have a strongly connected component.

  4. (D)

    For each pair of vertices and , there is a directed path from to .

Show answer

Official answer: A,B

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion