Worked solution from the System Software Paper 3 Advanced Theory booklet, Part 1 of 2.
Write one reason with its explanation (any two points):
Scheduling makes sure all processes are executed in good time [1]
It allows multitasking and keeps the CPU from sitting idle, or makes sure no process is starved of resources [1]
Function of round robin (any three points):
Processes are queued as they arrive [1]
It is pre-emptive: each process gets a fixed time slice (quantum) [1]
When the time slice ends, the process state is saved and it goes back in the queue to continue later; the next process then runs, with its state restored [1]
Another point that scores: if a process finishes early, the next one starts straight away.
Benefit (one needed): average response time is reduced because each process has a fixed limit, or no process is starved [1]
▶ Topic lesson
A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.