9618/12/O/N/21 question 7: worked solution (October/November 2021, paper 12)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 5.1 Operating Systems Worked solution from the System Software Paper 1 Theory Fundamentals booklet, Part 1 of 2. Q2 9618/12/O/N/21 original Q7 Structured · 11 marks Worked solution (a) Hardware interrupts come from a device or the power. Software interrupts come from a program error or fault in the running software. Tick like this: Event Hardware interrupt Software interrupt Buffer full ✓ Printer is out of paper ✓ User has pressed a key on the keyboard ✓ Division by zero ✓ Power failure ✓ Stack overflow ✓ Buffer full and Printer is out of paper both correct [1] User has pressed a key and Division by zero both correct [1] Power failure and Stack overflow both correct [1] (b) Describe four file management tasks. Any four of these score: Divides storage space into file allocation units [1] Allocates space to particular files [1] Creates and maintains directory (folder) structures [1] Sets the logical method of file storage , for example FAT or NTFS [1] Other accepted answers: provides file naming rules; controls access with access rights or passwords; sets what can be done to a file (open, close, delete, copy, move). (c) Name a utility (1 mark) and say how it helps (1 mark). Two utilities: Defragmentation [1] Files become contiguous , so there is less head movement and files open faster [1] Virus checker [1] It removes software that uses up or replicates in memory, so more RAM is free for programs [1] Other accepted pairs: disk repair (marks bad sectors so they are not used, so access is faster) and disk clean-up (frees storage by deleting unwanted or temporary files). KEY IDEA Hardware interrupts come from devices and power; software interrupts come from errors in running programs. TOTAL 11 marks Official mark scheme VIDEO ▶ Starts at Q7 (31:28) Starts at Q7 (31:28) · by HyperDavester. Tap the picture to open it on YouTube.