CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)

For the schedule R1(B), W3(A), W1(B), W2(B), R2(A), W3(C), R3(C), R2(C), how many distinct serial schedules are conflict-equivalent to it?

  1. A. 2
  2. B. 6
  3. C. 3
  4. D. 1

Correct answer: A. 2

Conflict edges: T1→T2, T3→T2. The equivalent serial schedules are the topological orders of this graph: T1 → T3 → T2; T3 → T1 → T2.

More DBMS and SQL questions

Exams that ask this topic