Schedule S is R1(A), W1(A), R2(A), W2(A), R1(B), W1(B), R2(B), W2(B). Which serial schedule is S conflict-equivalent to?
Correct answer D. T1 then T2
Subject / 421 questions
Page 6 of Programming multiple-choice questions with answers. Tap an option to check yourself.
Page 6 of 22
Correct answer D. T1 then T2
Correct answer B. T1 must commit before T2 commits
Correct answer D. Acquire any new lock
Correct answer B. Exclusive locks are held until commit or abort, which removes cascading aborts
Correct answer B. T2 must wait until T1 releases its shared lock
Correct answer B. T1 waits for T2
Correct answer D. Aborts T and restarts it with a new timestamp
Correct answer B. Log records describing a change must reach stable storage before the changed data page does
Correct answer B. To limit how much of the log must be scanned and replayed after a crash
Correct answer C. Redo T1 and undo T2
Correct answer D. Both undo and redo
Correct answer C. Alternate keys
Correct answer B. Composite key
Correct answer B. 4
Correct answer C. Entity integrity
Correct answer D. The delete is rejected with a foreign key violation
Correct answer B. The insert succeeds, because a NULL foreign key is not checked
Correct answer B. 2
Correct answer A. They must have the same number of attributes with compatible domains
Correct answer A. {s1, s3}