CS FundamentalsHardGATE CS
For the schedule R1(A), W2(A), R3(B), R4(B), W3(C), R1(C), how many serial schedules are conflict equivalent to it?
- A. 2
- B. 6
- C. 4
- D. 1
Correct answer: C. 4
Only two conflicts exist: R1(A)-W2(A) gives T1 → T2 and W3(C)-R1(C) gives T3 → T1. R3(B) and R4(B) are both reads, so T4 is free: insert it into T3 T1 T2 at any of 4 positions.
More DBMS and SQL questions
- Classify the schedule R1(X), W2(X), W1(X), W3(X), R4(X).
- Classify the schedule W1(A), W2(A), C1, R3(A), C2, C3 (Ci = commit of Ti) by the strongest property it satisfies.
- For the schedule W1(A), W2(B), R1(B), W2(A), C2, C1, which statement is correct?
- For the schedule W2(B), R1(B), W1(A), R3(A), C3, C1, C2, which statement is correct?
- TS(T1) = 1, TS(T2) = 2, TS(T3) = 3; all read/write timestamps start at 0. The schedule R1(A), W3(A), W2(A), R2(B), W1(B) is run under…
- TS(T1) = 7, TS(T2) = 3, TS(T3) = 9; all read/write timestamps start at 0. The schedule W2(A), R3(A), W1(A), W3(B), R1(B), W2(B) is run…