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

Q2 · 9618/31/O/N/22 Q8

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

Q29618/31/O/N/22original Q8Structured · 4 marks
Question 8 from 9618/31/O/N/22

Worked solution

(a)

Write any three points:

Secondary storage (disk) is used to extend the memory available [1]

So the CPU appears to have more memory than the real RAM [1]

Only the data in use needs to be in main memory, and data is swapped between RAM and disk when needed [1]

Also accepted: it is created temporarily

Only three score (3 marks).

(b)

Write one difference, for example:

Paging divides memory into fixed-size blocks, segmentation divides it into variable-size blocks [1]

Other accepted differences: the operating system makes the pages while the compiler works out segment sizes; paging has faster access times.

KEY IDEAVirtual memory uses disk space to act as extra RAM; paging uses equal blocks and segmentation uses unequal blocks.
TOTAL 4 marks

Official mark scheme

Mark scheme for 9618/31/O/N/22 question 8
VIDEO
▶ Whole paper

Video solution of the whole paper · by MAK CS. 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.