Question: Consider a system with five processes PO through P4 and three resources types A, B, C. Resource type A has 14 instances, B has 16

 Consider a system with five processes PO through P4 and three

Consider a system with five processes PO through P4 and three resources types A, B, C. Resource type A has 14 instances, B has 16 instances and type C has 20 instances. Suppose at time TO following snapshot of the system has been taken. A Available A B 4 5 4 PO P1 P2 P3 P4 Allocation B 2 4 3 1 2 1 1 2 2 3 UNAMWO Holm Max B 5 3 3 3 5 A 5 7 4 5 7 Uw ww un 8 4 5 4 6 a. compute the need matrix (1.25 marks) a b. P3 makes a request for (2 1 2). Using Banker's algorithm , find out is it safe to process this request. If safe, write the safe sequence. If not safe, justify. (Show every step of the algorithm clearly) (5.75 marks) [expected time to answer: 23 mins+ 3 mins upload] Note: Solve on paper, scan it and upload Do not forget to write your name and ID on the paper

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!