Question: 1. Considering a system with five processes P0 through P4 and three resources types A,B, C. Resource type Ahas 2 instances, B has 7 instances

 1. Considering a system with five processes P0 through P4 and

1. Considering a system with five processes P0 through P4 and three resources types A,B, C. Resource type Ahas 2 instances, B has 7 instances and type C has 6 instances. Suppose at time t0 following snapshot of the system has been taken: By applying banker's algorithm i. What will be the content of need matrix? ii. Is the system in safe state? If yes, then what is the safe sequence? 2. Consider the following page reference string: 1,2,3,4,1,2,0,1,2,3,4,5,2,3,1,2,0,1,2,1 How many page faults would occur for the Optimal Replacement algorithm (ORA), assuming three frames? 3. Calculate average waiting time and draw Gantt chart for the following table using Round Robin Algorithm and time quantum =4ms

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!