Question: 1. Given the following resource graph: a. Is this system deadlocked? Why or why not?( 2 pt) Hint: A has all resources locked. How about

 1. Given the following resource graph: a. Is this system deadlocked?
Why or why not?( 2 pt) Hint: A has all resources locked.

1. Given the following resource graph: a. Is this system deadlocked? Why or why not?( 2 pt) Hint: A has all resources locked. How about R2? Does R2 has all resources locked? If it does, then we have deadlock. If not, we don't have a deadlock. b. Are there blocked processes? Why or why not?(2pt.) Hint: P1 is normal because it is not waiting on any resources. How about P2? Is is it waiting on resources? If it is, then P2 is Blocked. c. What would be the status of the system if P2 's request for R2 is granted before P1's? (3 pt.) Hints Based on your answer in (b) for P2, we will also have P1 walting for R2 - which would lead this to d. What would be the status of the system if P1's request for R2 is granted before P2's? ( 3 pt.) Hints: Think of it as reverse of c. What you come up with c above, it will be opposite here

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!