Question: For each case, list the waiting time of each process in the ready queue, then calculate the total waiting time of all processes: 1. Preemptive

For each case, list the waiting time of each process in the ready queue, then calculate the total waiting time of all processes: 1. Preemptive SJF: Three processes P1 - P3 arrive at time 0,1 , and 6 (ms), with the lengths of the CPU bursts being 3ms, 6ms and 1ms respectively. 2. Round-Robin: Five processes P1 - P5 arrive at time 0,0,2,2,2, with the lengths of the CPU bursts being 2, 5, 6, 5, 4 ms respectively. The quantum is 2ms. (Assume that when a process's quantum expires, it will be moved to the tail of the ready quene.)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
