Answer it
P1 a1 round robin
5 marksYou mark it yourself against the marking points
A student's laptop has three processes ready to run at time 0, in the order shown. Each needs the CPU for the number of time units in the table.
| Process | CPU time needed |
|---|---|
| P1 (video export) | 5 |
| P2 (chat message) | 2 |
| P3 (spell check) | 3 |
(a) Deduce the time at which each process finishes under first come first served (FCFS) scheduling. [1]
(b) Deduce the time at which each process finishes under round robin scheduling with a time slice of 2 units. A process that has not finished goes to the back of the queue. Show the order in which the processes use the CPU. [2]
(c) Explain why round robin suits the chat program better than FCFS does. [2]
[5]