Question: The following processes exist in a system, and at a given snapshot of time this is how they come in: Process:ArrivalTime:BurstTime:Priority P 1 : 0

The following processes exist in a system, and at a given snapshot of time this is how they come in:
Process:ArrivalTime:BurstTime:Priority
P1:0:8:1
P2:4:3:3
P3:10:1:2
P4:12:10:4
Draw Gantt Charts and calculate the average wait times for each of the following scheduling schemes
a) First Come First Serve (Assume all arrival times to be 0 and the order to be P1, P2, P3, P4)
b) Shortest Job First (Assume all arrival times to be 0 and the order to be P1, P2, P3, P4)
c) Shortest Remaining Time First
d) Round Robin (with time quantum 2)
e) Priority Based
Remember to consider for each scheme whether it is preemptive or non-preemptive.

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!