CS FundamentalsHardGATE CS
Classify the schedule W1(A), W2(A), C1, R3(A), C2, C3 (Ci = commit of Ti) by the strongest property it satisfies.
- A. Strict
- B. Cascadeless but not strict
- C. Not recoverable
- D. Recoverable but not cascadeless
Correct answer: D. Recoverable but not cascadeless
R3(A) reads T2's write while T2 is still uncommitted (C1 does not help; T2 wrote last), so it is not cascadeless. T2 commits before T3, so it is recoverable. W2(A) over T1's uncommitted write also rules out strict.
More DBMS and SQL questions
- 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…
- TS(T1) = 5, TS(T2) = 10, TS(T3) = 15. T2 holds an exclusive lock on X; then T1 and T3 each request X. What happens under wound-wait?
- T1 and T2 run the schedule R1(A), W2(A), R1(B), C1, C2, and each transaction may acquire any lock as early as it likes. Under which…