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

Q5 · 9618/32/O/N/23 Q5

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

Q59618/32/O/N/23original Q5Structured · 5 marks
Question 5 from 9618/32/O/N/23

Worked solution

(a)

Write any two of these:

Virtual memory is used when RAM is running low. [1]

For example when many processes are running at the same time. [1]

It makes efficient use of RAM: data or programs not needed straight away can be moved from RAM to virtual memory. (also scores)

Any two points score.

(b)

Write the circumstances and what happens:

Disk thrashing happens when virtual memory is being used and RAM is nearly full. [1]

More pages must be swapped in and out between RAM and secondary storage, giving very many hard disk head movements. [1]

Eventually more time is spent swapping pages than processing data. [1]

KEY IDEAVirtual memory is used when RAM is low, and thrashing happens when swapping takes more time than processing.
TOTAL 5 marks

Official mark scheme

Mark scheme for 9618/32/O/N/23 question 5
VIDEO
▶ Whole paper

Video solution of the whole paper · by TEACHING BY SM. 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.