Question: 9. The processes listed below are in the ready queue of a first-come first-serve (FCFS) scheduler. Use this information to answer the following questions Process


9. The processes listed below are in the ready queue of a first-come first-serve (FCFS) scheduler. Use this information to answer the following questions Process P1 P2 P3 P4 Burst Time (ms) 8 12 4 Queue Order 4 a. Draw a Gantt chart to show the times and durations each process is active. (2 pts) b. Calculate the average wait time for this scenario c. What is situation called where short processes wait behind long processes and how does it impact the system? d. The FCFS was replaced with a round robin (RR) scheduler. It is implemented with a quantum of 4. Draw a Gantt chart to show when each process is active for this scheduler. e. Calculate the average wait time for the RR scenario f. The scheduler is now replaced by a shortest-job-first (SJF) scheduler. Draw a Gantt chart to show when each process is active for this scheduler. Calculate the average wait time for the SJF scheduler What makes SJF difficult to implement in practice? g. h. Priority (1 is highest priority) 4 2 Process P2 P3 P4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
