In: Computer Science
Consider the following set of jobs to be scheduled for execution on a single CPU system.
Job |
Arrival Time |
Burst (msec) |
Priority |
A |
0 |
6 |
3 (Silver) |
B |
1 |
2 |
1 (Diamond) |
C |
3 |
5 |
3 (Silver) |
D |
5 |
3 |
4 (Bronze) |
E |
7 |
2 |
2 (Gold) |
(a) Draw a Gantt chart showing First-Come-First-Served (FCFS) scheduling for these jobs.
(b) Draw a Gantt chart showing preemptive PRIORITY scheduling.
(c) Draw a Gantt chart showing Highest Response Ratio Next (HRRN) scheduling.
(d) Draw a Gantt chart showing Round Robin (RR) (quantum = 4) scheduling.
I have performed the mentioned algorithms on given process details and acquired Gantt Chart is presented at final answer. I tried to explain in detail as much as possible to understand the logic behind every step. Images are according to the serial as given in the question.