Question: Consider the processes P 1 to P 5 with the following service times d i , arrival times a i , and priorities p i

Consider the processes P1 to P5 with the following service times di, arrival times ai,
and priorities pi :
A single-processor/single core system is used and the time quantum is 4. Visualise
for the scheduling algorithms below the resulting schedules using a Gantt chart and
calculate the average residence time and the average waiting time:
(a) First Come First Serve (FCFS),
(b) Shortest Job First (SJF),
(c) Shortest Remaining Time First (SRTF),
(d) Round Robin (RR),
(e) Round Robin with priorities (RRprio).
(A note concerning round-robin scheduling: as said on the slides, newly arrived processes
are appended to the tail of the ready queue; furthermore, if a new process (even one
with a higher priority) arrives, another process that has already started its time slice is
allowed to continue.)
 Consider the processes P1 to P5 with the following service times

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!