9618/32/O/N/23 question 5: worked solution (October/November 2023, paper 32)

Show as plain text

Cambridge A2 Level Computer Science 9618 · 16.1 Purposes of an Operating System (OS) Worked solution from the System Software Paper 3 Advanced Theory booklet, Part 1 of 2. Q5 9618/32/O/N/23 original Q5 Structured · 5 marks 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 IDEA Virtual memory is used when RAM is low, and thrashing happens when swapping takes more time than processing. TOTAL 5 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by TEACHING BY SM. Tap the picture to open it on YouTube.