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

Q9 · 9618/31/M/J/25 Q8

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

Q99618/31/M/J/25original Q8Structured · 6 marks
Question 8 from 9618/31/M/J/25

Worked solution

(a)

Multi-tasking means the computer seems to do several jobs at once.

Multi-tasking is running several processes concurrently [1]

It helps process management because more tasks are completed than if each had to finish before the next could start [1]

(b)

Function of shortest remaining time (any three points):

Processes are queued as they arrive [1]

The process with the shortest burst time (shortest time left) is run first [1]

It is pre-emptive: if a process with a shorter burst time arrives, it replaces the one running [1]

Another point that scores: longer processes may be left waiting if shorter ones keep arriving (starvation).

Benefit (one needed): short processes are finished very quickly, or waiting time is kept low [1]

KEY IDEAShortest remaining time always runs the process that will finish soonest, switching if a shorter one arrives.
TOTAL 6 marks

Official mark scheme

Mark scheme for 9618/31/M/J/25 question 8
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.