There are four processes which are going to share nine tape drives. Their current and maximum number of allocation numbers are as follows :
process Current maximum
P1 3 6
P2 1 2
P3 4 9
P4 0 2
a) Is the system in a safe state? Why or why not?
b) Is the system deadlocked? Why or why not?