CS FundamentalsHardGATE CS

Consider the schedule R1(A), W2(A), R3(A), W1(A) on a single item A. Is it conflict serializable?

  1. A. No, because T1 and T2 form a cycle in the precedence graph.
  2. B. Yes, it is equivalent to the serial order T1, T2, T3.
  3. C. Yes, it is equivalent to the serial order T2, T3, T1.
  4. D. No, because T2 and T3 form a cycle in the precedence graph.

Correct answer: A. No, because T1 and T2 form a cycle in the precedence graph.

R1 before W2 gives T1 -> T2, and W2 before W1 gives T2 -> T1: a cycle, so no serial order is conflict equivalent. T2 and T3 have only T2 -> T3.

More DBMS and SQL questions

Exams that ask this topic