CS FundamentalsVery hardGATE CS (PYQ pattern)

T1: R1(X), W1(Y); T2: W2(X), W2(Y); T3: W3(X), W3(Y), R3(Y). Of all 210 interleavings, how many are view-serializable and how many are conflict-serializable?

  1. A. 42 view-serializable, 64 conflict-serializable
  2. B. 64 view-serializable, 42 conflict-serializable
  3. C. 64 view-serializable, 64 conflict-serializable
  4. D. 74 view-serializable, 42 conflict-serializable

Correct answer: B. 64 view-serializable, 42 conflict-serializable

Every conflict-serializable schedule is view-serializable but not conversely; blind writes (W2, W3 never read) let some cyclic schedules still be view-equivalent to a serial one. Enumeration with a brute-force check over the 6 serial orders gives the stated counts.

More DBMS and SQL questions

Exams that ask this topic