Question: 2 A deadlock can occur when executed transactions T 1 and T 2 concurrently. While the transaction T 1 is waiting for the data object
A deadlock can occur when executed transactions T and T concurrently. While the transaction T is waiting for the data object B to be released by transaction T transaction T tries to obtain the object A and it is blocked because A is already locked by transaction T
A False
B True
The schedule of transactions T and T generated by a scheduler is guaranteed to be
A a serial schedule
B a strict schedule
C a conflict serializable schedule
D a cascadeless schedule
Assuming that starts first and T wants a lock that TI holds. Which transaction needs to be aborted under the waitdie deadlock prevention scheme?
A TI
B T
C T and T
D None of the above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
