Question: Operating Systems 4. Consider a system with five processes PO through P4 and three resource types A, B, and C. Resource type A has nine
Operating Systems

4. Consider a system with five processes PO through P4 and three resource types A, B, and C. Resource type A has nine instances, resource type B has three instances, and resource type C has seven instances. At time To, the following snapshot of the system has been taken: Available A B 1 1 C 1 PO P1 P2 P3 P4 Allocation A B 2 0 1 1 2 1 0 0 3 0 C 1 1 0 2 2 Max A 5 4 1 2 3 B 2 3 1 2 2 4 2 1 2 2 NN NN For the given snapshot, answer the following: (a) Suppose that process PO requests two additional instances of resource type A and two instances of resource type C, determine whether this request can be immediately granted? Justify your answer. (b) Suppose that process PO requests one additional instance of resource type A, one instance of resource type B and one instance of resource type C, determine whether this request can be immediately granted? Justify your answer. (C) Suppose that process P4 requests one additional instance of resource type B, determine whether this request can be immediately granted? Justify your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
