Question: 1. Given the schedule as shown in the following table, Ti stands for transactions, R and W mean read and write operations respectively, and A,


1. Given the schedule as shown in the following table, Ti stands for transactions, R and W mean read and write operations respectively, and A, B, C are the data items. Is there any deadlock using two-phase Share/Exclusive locks? If there are any deadlocks, describe how with a wait for graph [50 marks]. T2 T3 T4 T1 R(A) R(C) W(B) W(A) W(C) R(B) W(A) 2. Describe what will happen for each of the following two scenarios when Wait/Die is adopted. What will happen when Wound/Wait is adopted? [50 marks] T2 T1 R(A) R(B) R(C) W(C) W(A) (a) Scenario one T2 T1 R(A) W(B) W(A) R(B) (b) Scenario two
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
