CS FundamentalsVery hardGATE CS · Product placement

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

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

Correct answer: D. 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