9618/32/M/J/25 question 5: worked solution (May/June 2025, 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. Q10 9618/32/M/J/25 original Q5 Structured · 7 marks Worked solution (a) Write three states a process can be in: Running [1] Ready [1] Blocked [1] (b) Function of shortest job first (any three points): Processes are queued as they arrive [1] The process with the shortest burst time is picked first and run [1] It runs until it finishes or goes to a waiting state; it is non-pre-emptive [1] Another point that scores: longer jobs may be starved if shorter jobs keep arriving. Benefit (one needed): short jobs do not wait for long jobs, so the average waiting time is much lower, or throughput is higher [1] KEY IDEA Shortest job first picks the process with the shortest burst time and lets it run to the end. TOTAL 7 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.