Question: 2. Considering a system with three (3) processes P1 through P3 and three resources types A, B, C. Resource type A has 13 instances,
2. Considering a system with three (3) processes P1 through P3 and three resources types A, B, C. Resource type A has 13 instances, B has 10 instances and type C has 14 instances. Suppose at time to, the following snapshot of the system has been taken: Process P P2 P3 Process Allocation B 2 3 2 P P P3 A 4 3 2 A Max A 4 4 3 6 4 3 5 4 B C 8 3 6 Analyze the above table and answer the following questions: a. Calculate the NEED matrix. Need B st 4 C Available A B 4 3 C 4 (2.25 Marks) b. Use Banker's Algorithm to test if the system is in safe state. If the system is in safe state, write the safe sequence. (6.75 marks)
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
Answer a Needi Maxi allocationi The requ... View full answer
Get step-by-step solutions from verified subject matter experts
