Exercise. Ready queue order
Statement.
The system is configured to multiprogramming.
Given exercise processes data, answer the questions:
- In what order are the processes placed in the ready queue for each
of the following algorithms:
- FCFS algorithm
- SJF algorithm (non preemptive)
- SJF algorithm (preemptive)
- Priority Algorithm (non preemptive)
- Priority Algorithm (preemptive)
- Round Robin algorithm (quantum: 1)
Data
| Process |
Submission
Time |
Priority |
Bursts
(Duration and type) |
| P1 |
0 |
3 |
2 CPU + 2 I + 1 cpu |
| P2 |
0 |
1 |
4 cpu |
| P3 |
0 |
9 |
3 cpu + 2 I + 2 cpu |
| P4 |
0 |
10 |
5 cpu |