Question: . A system has three processes, P1, P2, and P3, and four resource classes, which are 4 tape drives, 2 plotters, 3 scanners, and 1
. A system has three processes, P1, P2, and P3, and four resource classes, which are 4 tape drives, 2 plotters, 3 scanners, and 1 CD-ROM, respectively .The existing resource vector, E=(4 2 3 1).
1) At an instant of time, 1 plotter and 2 scanners are assigned to P1,
2 tape drives and 1 CD-ROM are assigned to P2, 1 scanner is assigned to P3. Find the current allocation matrix, C, and available resource vector, A
.2) After a quantum of time passed, P1request for 2 tape drives and 1plotters, P2 requests for 1 tape drive and 1 scanner, P 3 further requests 2 tape drives and 1 CD-ROM. Find the need matrix, R
.3) In above situation, is the entire system deadlocked? If yes, what resources are involved? If not, what is the possible sequence to run these processes?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
