9618/31/O/N/22 question 8: worked solution (October/November 2022, paper 31)
Show as plain textHide 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. Q2 9618/31/O/N/22 original Q8 Structured · 4 marks 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 IDEA Virtual memory uses disk space to act as extra RAM; paging uses equal blocks and segmentation uses unequal blocks. TOTAL 4 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by MAK CS. Tap the picture to open it on YouTube.