Question: Given 4 processes PO to P3 and 3 resource types: A 7 instances), B 3 instances), and C (5 instances). Suppose a snapshot taken for

Given 4 processes PO to P3 and 3 resource types: A 7 instances), B 3 instances), and C (5 instances). Suppose a snapshot taken for the system at time To as follows: Allocation Max Available ABC ABC ABC 200 412 111 P1 101 112 P2 3 1 1 431 P3 012 3 24 A- Apply Banker's algorithm to determine if the system is in a SAFE or UNSAFE state? Note: show all the changes made to the available resources (work). B- If the system is safe, what is the execution sequence of processes that avoids deadlock? [if unsafe, just write NONE] C- To avoid deadlock, can a request for resources (1,2,0) by P2 be granted? why
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
