9618/33/O/N/24 question 8: worked solution (October/November 2024, paper 33)
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. Q8 9618/33/O/N/24 original Q8 Structured · 7 marks Worked solution (a) Write any four of these: In segmentation the logical (virtual) address space is split into variable-sized blocks called segments. [1] Each segment has a name (or number) and a size . [1] During execution, segments are loaded from virtual memory into physical memory . [1] An address has a segment number and an offset ; the number is an index into the segment map table . [1] The segment map table maps logical addresses to physical addresses. (also scores) Any four points score the 4 marks. (b) Explain what it means: Disk thrashing can happen when virtual memory is used. [1] When main memory is full, more and more pages are swapped in and out of virtual memory, causing a very high rate of disk access (head movement). [1] Moving the head is slow, so more time is spent swapping pages than processing data, and the program may freeze. [1] KEY IDEA Segmentation uses variable-sized blocks found through a segment map table, and thrashing is too much page swapping. TOTAL 7 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by Zafar Ali Khan (ZAK). Tap the picture to open it on YouTube.