Question: #@ Operating System.... 2. Considering a system with three (3) processes P1 through P3 and three resources types A, B, C. Resource type A has

 #@ Operating System.... 2. Considering a system with three (3) processes

#@ Operating System....

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 11 instances and type C has 10 instances. Suppose at time to, the following snapshot of the system has been taken: Process Allocation B 2 2 3 Max A B 6 4 Available B 2 2. 2 P1 4 P2 5 4 2 7 4 2 P3 4 3 3 5 4 4 4 Analyze the above table and answer the following questions: a. Calculate the NEED matrix (2.25 Marks) Process Need B P1 P2 P3 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

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!