Banker Algorithm

  

Question 1.

System State:

Processes: P0, P1, P2, P3

Resources: A (3 instances) | B (14 instances) | C (11 instances)

(a) If we try to execute all processes; Is system in safe state with above information?

(b) If a request from process P1 arrives for additional resources of (0,5,2), can the Banker’s algorithm grant the request immediately? Show the system state, and other criteria.

Tags: No tags