CS FundamentalsHardGATE CS · PSU (ISRO/BARC)

T1 has 3 operations, T2 has 2 and T3 has 2. How many concurrent schedules (interleavings that keep each transaction's own order) exist, and how many of them are non-serial?

  1. A. 210 and 207
  2. B. 5040 and 5034
  3. C. 35 and 29
  4. D. 210 and 204

Correct answer: D. 210 and 204

Interleavings = 7!/(3!·2!·2!) = 210. Exactly 3! = 6 of them are serial, so 204 are non-serial.

More DBMS and SQL questions

Exams that ask this topic