Cambridge A2 Level Computer Science 9618 · 16.1 Purposes of an Operating System (OS)

Q11 · 9618/33/M/J/25 Q6

Worked solution from the System Software Paper 3 Advanced Theory booklet, Part 1 of 2.

Q119618/33/M/J/25original Q6Structured · 6 marks
Question 6 from 9618/33/M/J/25

Worked solution

(a)

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]

(b)

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]

KEY IDEARound robin gives every process an equal time slice in turn, so none is left waiting forever.
TOTAL 6 marks

Official mark scheme

Mark scheme for 9618/33/M/J/25 question 6
VIDEO
▶ 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.