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

Q4 · 9618/31/O/N/23 Q7

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

Q49618/31/O/N/23original Q7Structured · 5 marks
Question 7 from 9618/31/O/N/23

Worked solution

(a)

Write a benefit and an example.

Benefit: the user interface hides the complexity of the hardware and operating system from the user, so the student does not need to type difficult commands. [1]

Example: clicking an icon in a graphical user interface instead of writing code. [1]

Other benefits that score: it gives access methods for users with different needs; it avoids complex commands about memory locations or buses.

(b)

Write one state other than running and ready:

Blocked (also called waiting) [1]

(c)

A running process goes back to ready when it is stopped before it has finished. Write any two of these:

The time slice has run out (round robin). [1]

A process with a higher priority is in the ready queue, so the running process is pre-empted. [1]

An interrupt arrives at the CPU and the running process is pre-empted. (also scores)

Any two of these three points score the 2 marks.

KEY IDEAA user interface hides hardware complexity, and a running process returns to ready when its time slice ends or it is pre-empted.
TOTAL 5 marks

Official mark scheme

Mark scheme for 9618/31/O/N/23 question 7
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.