GATE CS 2016, set 2 · Question 32 · Databases · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

Suppose a database schedule S involves transactions T₁, …, Tₙ. Construct the precedence graph of S with vertices representing the transactions and edges representing the conflicts. If S is serializable, which one of the following orderings of the vertices of the precedence graph is guaranteed to yield a serial schedule?

  1. (A) Topological order
  2. (B) Depth-first order
  3. (C) Breadth-first order
  4. (D) Ascending order of transaction indices
Answer

Answer (A)

Answer from the official GATE CS 2016 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes