9618/32/O/N/22 question 9: worked solution (October/November 2022, 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. Q3 9618/32/O/N/22 original Q9 Structured · 9 marks Worked solution (a) Write any three reasons: Scheduling lets more than one program appear to run at the same time (multi-tasking) [1] It lets high priority jobs finish first [1] It keeps the CPU busy all the time so processes run efficiently [1] Also accepted: it gives all processes fair access to the CPU , reduces waiting times and stops starvation Only three score (3 marks). (b) For each routine, give a description and a benefit. Shortest job first: the processes needing the least CPU time are run first, then the longer ones [1] Benefit: higher throughput , because more processes finish in less time [1] Round robin: each process gets the CPU for a fixed time slice [1] Benefit: no starvation , because every process gets a turn in each cycle [1] First come first served: each request is queued as it arrives and run one at a time, with no complex logic [1] Benefit: no starvation because every process eventually runs, or low processor overhead [1] KEY IDEA Scheduling shares the CPU between processes; each routine trades speed, fairness and simplicity differently. TOTAL 9 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.