Question: 1 . Solve the following problem by using the Priority Scheduling algorithm, draw a Gantt Chart, and calculate the average waiting time. Process Burst Time

1. Solve the following problem by using the Priority Scheduling algorithm, draw a Gantt Chart, and calculate the average waiting time.
Process Burst Time Priority
P1103
P211
P324
P415
P552
2. Consider the following page reference string:
3,2,3,4,2,1,3,4,2,1,4,3,2,1,5
How many page faults would occur for the Least Recently Used (LRU), assuming three frames?
Page Faults =
3. Considering a system with five processes P0 through P4 and three resource types A, B, C., Resource type A has 8 instances, B has 6 instances, and type C has 9 instances. Suppose at time t0 following snapshot of the system has been taken:
Process Allocation Max Available
A B C A B C A B C
P0111323221
P1213314
P2111112
P3100221
P4113343
By applying the bankers algorithm
1. What will be the content of the need matrix?
2. Is the system in a safe state? If yes, then what is the safe sequence?

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!