Question 9 (5 points)
Given that all of the devices are the same type, and using Bankers's Algorithm, answer these questions:
a. Calculate number of available devices
b. Determine the remaining needs for each job in each system
c. Determine whether the system is in safe state or unsafe state
The system has 14 devices:
Job No.
Devices Allocated
Maximum Required
Remaining Needs
Job 1
2
6
Job 2
4
7
Job 3
5
6
Job 4
0
2
Job 5
2
4