Answer:
(a)
no of available devices = 16 - (5+3+4+2) = 16 - 14 = 2
(b)
Job No Devices Allocates Maximum Required Remaining Needs
1 5 8 3
2 3 9 6
3 4 8 4
4 2 5 3
(c)
It is in unsafe state because to complete smallest requirement , we need at least 3 devices.
(e)
it is in unsafe state because it need at least 3 devices to complement the smallest requirement and we have 2 devices free initially. so that devices will be in deadlock initially. to solve that we need at least 3 devices free initially. If we got 3 devices free initially than there will be no deadlock
Step-by-step explanation: