Question: you can? B) On a system using preemptive scheduling, processes with expected run times of 5,18,9 and 12 are in the ready queue. Show in


B) On a system using preemptive scheduling, processes with expected run times of 5,18,9 and 12 are in the ready queue. Show in what order should they be run to minimize waiting time? (marks 3 ) (CLO 2) (marks 9) Q.3. The table below lists the arrival times to the ready queue and CPU burst times for 4 processes P1,P2,P3 and P4 : a. Find the Start time and End time of each process assuming the CPU uses FCFS scheduling b. Repeat, assuming that the CPU uses Shortest remaining time first (SRTF) scheduling. c. Draw the corresponding Gantt chart for the above two cases, a and b. d. Compare the average waiting time of the 4 processes in both cases: - The average waiting time under FCFS = - The average waiting time under SRTF = e. Write your comments
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
