9618/31/O/N/23 question 7: worked solution (October/November 2023, 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. Q4 9618/31/O/N/23 original Q7 Structured · 5 marks Worked solution (a) Write a benefit and an example. Benefit: the user interface hides the complexity of the hardware and operating system from the user, so the student does not need to type difficult commands. [1] Example: clicking an icon in a graphical user interface instead of writing code. [1] Other benefits that score: it gives access methods for users with different needs; it avoids complex commands about memory locations or buses. (b) Write one state other than running and ready: Blocked (also called waiting) [1] (c) A running process goes back to ready when it is stopped before it has finished. Write any two of these: The time slice has run out (round robin). [1] A process with a higher priority is in the ready queue, so the running process is pre-empted . [1] An interrupt arrives at the CPU and the running process is pre-empted. (also scores) Any two of these three points score the 2 marks. KEY IDEA A user interface hides hardware complexity, and a running process returns to ready when its time slice ends or it is pre-empted. TOTAL 5 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.