Worked solution from the System Software Paper 1 Theory Fundamentals booklet, Part 1 of 2.
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]
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).
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).
▶ Starts at Q7 (31:28)
Starts at Q7 (31:28) · by HyperDavester. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.