Question: 5. Three processes are added to the ready queue of an idle system in the following order: P1, P2, P3. Assume that, respectively, the processes
5. Three processes are added to the ready queue of an idle system in the following order: P1, P2, P3. Assume that, respectively, the processes require 500 ms, 400 ms and 50 ms of CPU time to complete. Assume also that the context switching time for the system is 10ms. Calculate the turnaround time for P2 if
- the scheduler uses FCFS scheduling
- the scheduler uses SJF scheduling
- the scheduler uses RR scheduling with 100 ms time slices
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
