Question: 6. Five jobs P Ps arrive at a processor at time 0, 1, 2,3, 4 and the lengths of their CPU bursts are 9, 1,5,

6. Five jobs P Ps arrive at a processor at time 0, 1, 2,3, 4 and the lengths of their CPU bursts are 9, 1,5, 2, 3, respectively. For each of the following scheduling algorithms, draw the Gantt Chart and calculate the average waiting time and the average response time FCFS: First-Come-First-Served SJF: Shortest-Job-First . SRTF: Shortest-Remaining-Time-First; . P-PS: Preemptive priority scheduling with priority assignment (3, 2, 1, 4, 3) to (P Ps), where priority 1 is the highest priority; RR: Round-Robin with a time quantum of 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
