Scheduling Algorithms FCFS SJF RR Priority
Scheduling Algorithms FCFS SJF RR Priority
|---------|------------|-----------------|--------------|
| P1 |4 |4 |0 |
| P2 |8 | 12 |4 |
| P3 |5 | 17 | 12 |
| P4 |9 | 26 | 17 |
---
|---------|------------|-----------------|--------------|
| P1 |4 |4 |0 |
| P3 |5 |9 |4 |
| P2 |8 | 17 |9 |
| P4 |9 | 26 | 17 |
Average Waiting Time = (0 + 4 + 9 + 17) / 4 = 7.5
---
interrupted.
|---------|------------|-----------------|--------------|
| P1 |4 |4 |0 |
| P3 |5 |9 |4 |
| P2 |8 | 17 |9 |
| P4 |9 | 26 | 17 |
---
We need a time quantum (time slice) to perform Round Robin scheduling. Let's
example).
---
We need priority values for each process to perform priority scheduling. This
---
Final Answer
Without priority values and a specified time quantum for Round Robin, only
calculated.