[Solved]1 System Adopts Deadlock Avoidance Four Processes P1 P2 P3 P4 Three Resource Types B C Sys Q37242308
1.In a system that adopts deadlock avoidance, there are fourprocesses P1, P2, P3, and P4 with three resource types A, B, and Cin a system. At time T0, the system configuration is asfollows:

Here the following questions are independent of each other.
(a) How many instances of each resource type A, B, and C arethere in the system?
(b) Is the system safe at time T0? If yes, give a safesequence.
(c) Given the above configuration, can a request for (1,1,2) byP1 be granted? Justify your answer.
(d) Given the above configuration, can a request for (0,1,1) byP3 be granted? Justify your answer.
(e)Suppose that the request for (0,1,1) by P3 is grantedregardless of your answer to question (d), is the system deadlockedat the time this request is granted? Justify your answer.
Process Allocation Max Available ABC 2 1 0 3 0 2 1 0 1 112 ABC 4 3 3 702 4 3 3 ABC 121 3 4 Show transcribed image text Process Allocation Max Available ABC 2 1 0 3 0 2 1 0 1 112 ABC 4 3 3 702 4 3 3 ABC 121 3 4
Expert Answer
Answer to 1.In a system that adopts deadlock avoidance, there are four processes P1, P2, P3, and P4 with three resource types A, B… . . .
OR

