CS FundamentalsHardGATE CS
For the schedule R3(A), W1(B), R2(B), W2(A), W4(C), R3(C), how many serial schedules are conflict equivalent to it?
- A. 1
- B. 3
- C. 4
- D. 6
Correct answer: B. 3
The conflicts give edges T1 → T2 (B), T3 → T2 (A) and T4 → T3 (C). So T2 is last and T4 precedes T3, while T1 can sit in any of the 3 places before T2: T1T4T3T2, T4T1T3T2, T4T3T1T2.
More DBMS and SQL questions
- For the schedule R1(A), W2(A), R3(B), R4(B), W3(C), R1(C), how many serial schedules are conflict equivalent to it?
- 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…