Question: Consider the given table and answer the following points: Process Arrival Time CPU Burst Time Priority (10) Pl 0 8 5 (lowest) P2 3

Consider the given table and answer the following points: Process Arrival Time CPU Burst Time Priority (10) Pl 0 8 5 (lowest) P2 3 3 4 P3 5 2 3 P4 6 3 2 P5 4 6 1 (highest) (i) Draw the Gantt chart for both non preemptive priority and preemptive priority algorithms. (ii) Determine the average waiting time under the policies non preemptive priority and preemptive priority algorithms. (iii) Which CPU scheduling method as mentioned in earlier points has achieved the highest turnaround time.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
