The time quantum q = 1. When two processes want to join ready queue simultaneously, the process which has not executed recently is given priority. The finish time of processes P1, P2, P3 and P4 will respectively be
A. 4, 5, 7 and 8
B. 8, 2, 7 and 5
C. 2, 5, 7 and 8
D. 8, 2, 5 and 7
Answer:D
The time quantum q = 1. When two processes want to join ready queue simultaneously, the process which has not executed recently is given priority. The finish time of processes P1, P2, P3 and P4 will respectively be
A. 4, 5, 7 and 8 B. 8, 2, 7 and 5 C. 2, 5, 7 and 8 D. 8, 2, 5 and 7