CS FundamentalsVery hardGATE CS · Product placement

For the schedule R1(B), W1(B), R2(C), W3(C), R3(B), R4(B), R2(B), R4(A), how many serial schedules of T1–T4 are conflict-equivalent to it?

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

Correct answer: A. 3

Precedence edges: T1→T2, T1→T3, T1→T4, T2→T3. Counting the topological orders of this DAG gives 3.

More DBMS and SQL questions

Exams that ask this topic