Question: 3. A system has three processes, Pl, P2, and P3, and four resource classes, which are 4 tape drives, 2 plotters, 3 scanners, and 1

 3. A system has three processes, Pl, P2, and P3, and

3. A system has three processes, Pl, 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, C (423 1) () A an instant of time, 1 plotter and 2 scanners are assigned to P1, 2 tape drives and 1 CD-ROM are assigned to P2, I scanner is assigned to P3. Find the current allocation matrix, A, and available resource vector, R. (2) After a quantum of time passed, Pl request for 2 tape drives and Iplotters, P2 requests for 1 tape drive and I scanner, P3 further requests 2 tape drives and 1 CD-ROM. Find the need matrix, N. (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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!