The scheduling algorithm assigns priority based on waiting time, with processes starting at priority zero. Priorities are reassessed every T time units.
Under these specific conditions, the algorithm effectively implements Round Robin scheduling:
The described scheduling mechanism, under the constraints of simultaneous arrival and no I/O, results in the implementation of Round Robin Scheduling criteria.
Assume that the following tasks are to be executed on a single processor system. All tasks have arrived at 0 msec.
| Job ID | CPU |
| a | 4 |
| b | 1 |
| c | 7 |
| d | 2 |
How long does it take for task "a" to complete if the scheduling time slice is a round-robin with 1 ms?