Question Assuming following table of process: PID Arrival Time CPU Running Time 1 0 2 2 1 6 3 4 1 4 7 4 5 8 3 (a) Draw a Gantt chart for processes execution under each one FIFO, SRTF, and RR(q=2) algorithms. (b) Repeat part (a) assuming that context switch takes 1 time unit. (c) Calculate turn around time and waiting time for both part (a) and (b)

CEGT86 The Asker · Computer Science

Assuming following table of process:

PID Arrival Time CPU Running Time
1 0 2
2 1 6
3 4 1
4 7 4
5 8 3

(a) Draw a Gantt chart for processes execution under each one FIFO, SRTF, and RR(q=2) algorithms.

(b) Repeat part (a) assuming that context switch takes 1 time unit.

(c) Calculate turn around time and waiting time for both part (a) and (b)

More