Topic 4 · Software
Explain the software stack, operating-system services, interrupts, language levels, translators, and IDE support.
8 lesson sections · 8 worked applications · Paper 1 · Cambridge 0478 (2026–2028)
CPU, memory, storage, peripherals, and the fetch–decode–execute cycle.
Keep roles distinct: firmware starts the OS, the OS manages resources, translators convert code, and IDEs support development.
System Software vs. Application Software
The defining description of system software is “provides services needed for the computer to operate.” Connect it with application software, whose role is “provides services needed by the user.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| system software | provides services needed for the computer to operate | an operating system or utility program |
| application software | provides services needed by the user | a word processor or image editor |
| operating system | manages computer resources and provides a platform for applications | loading and running a browser |
| utility software | performs maintenance, protection, or management tasks for the system | backup or anti-malware software |
| firmware and bootloader | run on the hardware and start the process of loading the operating system | startup code stored in non-volatile memory |
| software execution chain | runs the bootloader on hardware, the operating system on firmware, and applications on the operating system | power-on through opening a user program |
Four-step exam routine
Identify the exact clue and name system software only when its defining role fits.
State the mechanism or boundary: provides services needed by the user.
Apply the idea to evidence such as “loading and running a browser.”
Reject the tempting error that is firmware built into every peripheral.
Reason Before Naming
Purpose is the evidence. A clear answer links the program's purpose to the correct category.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
The operating system is system software because it manages resources and provides services for applications.
| Scenario clue | What it proves |
|---|---|
| hardware/resource control | system software |
| document, browsing, editing | application software |
| security, backup, compression | utility software |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- software: programs and instructions
- system software: software that manages the computer system
- application software: software made for user tasks
- utility software: system software that maintains or protects the computer
A full answer names the category and uses the exact purpose as evidence.
| Term | Use in this lesson |
|---|---|
| software | programs and instructions |
| system software | software that manages the computer system |
| application software | software made for user tasks |
| utility software | system software that maintains or protects the computer |
A Common Mix-Up
A common mistake is classifying software by where it is installed instead of what it does.
Fix: Classify by purpose: manage the system, maintain the system, or help the user complete a task.
| Mistake | Correction |
|---|---|
| A common mistake is classifying software by where it is installed instead of what it does. | Classify by purpose: manage the system, maintain the system, or help the user complete a task. |
Operating System (OS) Functions & Memory Management
The defining description of file management is “organises, stores, names, copies, moves, and deletes files and folders.” Connect it with memory management, whose role is “allocates and releases memory for programs and data.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| file management | organises, stores, names, copies, moves, and deletes files and folders | saving a document into a folder |
| memory management | allocates and releases memory for programs and data | giving RAM space to a newly opened application |
| multitasking management | shares processor time and resources among running processes | playing audio while editing a document |
| peripheral and driver management | coordinates hardware devices through the correct drivers | sending a print job to a printer |
| application platform | provides common services and an environment in which applications run | an app requests file or display services from the OS |
| OS system security and user accounts | controls authentication, permissions, access, and user-account settings while also handling interrupts | separate user logins with different rights |
Four-step exam routine
Identify the exact clue and name file management only when its defining role fits.
State the mechanism or boundary: allocates and releases memory for programs and data.
Apply the idea to evidence such as “playing audio while editing a document.”
Reject the tempting error that replaces every physical device with software.
Reason Before Naming
The OS is needed because many programs and users share the same hardware resources.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
Processor scheduling decides which process receives CPU time so that multiple programs can make progress.
| Scenario clue | What it proves |
|---|---|
| many apps open | share CPU/RAM |
| restricted file | security/permissions |
| new printer | device management/driver |
| saved document | file management |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- operating system: system software that manages resources
- process: a program currently running
- memory management: allocating and protecting RAM
- processor scheduling: sharing CPU time between processes
A strong answer names one OS function and explains the resource or risk it handles.
| Term | Use in this lesson |
|---|---|
| operating system | system software that manages resources |
| process | a program currently running |
| memory management | allocating and protecting RAM |
| processor scheduling | sharing CPU time between processes |
A Common Mix-Up
A common mistake is listing OS functions without explaining what each one controls.
Fix: Always connect the function to the resource: RAM, CPU time, files, devices, user access, or interface.
| Mistake | Correction |
|---|---|
| A common mistake is listing OS functions without explaining what each one controls. | Always connect the function to the resource: RAM, CPU time, files, devices, user access, or interface. |
User Interfaces (HCI)
The defining description of user interface is “allows a person to communicate with and control a computer system.” Connect it with graphical user interface, whose role is “uses visual elements such as windows, icons, menus, and a pointer.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| user interface | allows a person to communicate with and control a computer system | selecting a command and viewing feedback |
| graphical user interface | uses visual elements such as windows, icons, menus, and a pointer | opening a file from a desktop |
| command-line interface | accepts typed commands using a defined command syntax | entering a file-management command |
| GUI suitability | supports discoverability and visual interaction but uses more system resources | an occasional user selecting visible controls |
| CLI suitability | can be efficient for an experienced user and automation but requires command knowledge | an administrator running a precise command |
| interface accessibility | adapts interaction or presentation to user needs | larger text, keyboard navigation, or screen-reader support |
Four-step exam routine
Identify the exact clue and name user interface only when its defining role fits.
State the mechanism or boundary: uses visual elements such as windows, icons, menus, and a pointer.
Apply the idea to evidence such as “entering a file-management command.”
Reject the tempting error that always requires less memory than a text interface.
Reason Before Naming
A correct justification uses evidence about who is using the system and what they need to do.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
A CLI is suitable for an administrator because typed commands can be fast, precise, and automated with scripts.
| Scenario clue | What it proves |
|---|---|
| new user | GUI |
| expert admin | CLI |
| ATM or ticket machine | menu-driven |
| hands-free task | voice interface |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- HCI: how users interact with computers
- GUI: graphical user interface with visual controls
- CLI: command line interface using typed commands
- menu-driven interface: interface where users choose from menus
A strong answer explains both the interface features and the user it suits.
| Term | Use in this lesson |
|---|---|
| HCI | how users interact with computers |
| GUI | graphical user interface with visual controls |
| CLI | command line interface using typed commands |
| menu-driven interface | interface where users choose from menus |
A Common Mix-Up
A common mistake is saying one interface is always best.
Fix: Match the interface to the user, task, and system resources.
| Mistake | Correction |
|---|---|
| A common mistake is saying one interface is always best. | Match the interface to the user, task, and system resources. |
Device Drivers & Utility Software
The defining description of device driver is “translates operating-system requests into instructions understood by a specific peripheral.” Connect it with driver requirement, whose role is “allows the OS to manage hardware whose commands and features are device-specific.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| device driver | translates operating-system requests into instructions understood by a specific peripheral | a printer driver controlling print features |
| driver requirement | allows the OS to manage hardware whose commands and features are device-specific | installing support for a new graphics device |
| anti-malware utility | detects, blocks, quarantines, or removes malicious software | scanning a downloaded file |
| backup utility | copies selected data so it can be restored after loss or damage | scheduled copies to separate storage |
| compression utility | reduces file size for storage or transmission | creating a lossless archive |
| disk-maintenance utility | checks or organises storage to maintain effective operation | checking a drive for file-system errors |
Four-step exam routine
Identify the exact clue and name device driver only when its defining role fits.
State the mechanism or boundary: allows the OS to manage hardware whose commands and features are device-specific.
Apply the idea to evidence such as “scanning a downloaded file.”
Reject the tempting error that compresses a file without retaining a recoverable copy.
Reason Before Naming
The clue tells you the software type: hardware communication points to a driver, while maintenance points to a utility.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
A backup utility copies data to another location so that files can be restored after deletion, corruption, or device failure.
| Scenario clue | What it proves |
|---|---|
| printer/scanner hardware | driver |
| virus/malware | antivirus |
| data loss | backup |
| slow fragmented HDD | defragmenter |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- device driver: software that lets the OS communicate with hardware
- utility software: software that maintains or protects the system
- defragmentation: reorganising fragmented files on a magnetic HDD
- backup: copying data so it can be restored
A strong answer names the tool and explains the exact problem it solves.
| Term | Use in this lesson |
|---|---|
| device driver | software that lets the OS communicate with hardware |
| utility software | software that maintains or protects the system |
| defragmentation | reorganising fragmented files on a magnetic HDD |
| backup | copying data so it can be restored |
A Common Mix-Up
A common mistake is calling every maintenance tool an application.
Fix: Drivers are software for hardware communication; utilities maintain or protect the system.
| Mistake | Correction |
|---|---|
| A common mistake is calling every maintenance tool an application. | Drivers are software for hardware communication; utilities maintain or protect the system. |
Interrupts and the Interrupt Service Routine (ISR)
The defining description of interrupt is “is a signal or event requiring the CPU's attention.” Connect it with hardware interrupt, whose role is “is generated by a hardware event or peripheral.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| interrupt | is a signal or event requiring the CPU's attention | a key press or division by zero |
| hardware interrupt | is generated by a hardware event or peripheral | moving a mouse |
| software interrupt | is generated by a program or processing condition | two processes attempt the same memory location |
| interrupt check | allows the processor to determine whether a pending event needs service | checking interrupts between instruction cycles |
| interrupt service routine | is the specific routine executed to handle an interrupt | processing the data from a key press |
| interrupted-program resumption | restores the saved state, returns from the ISR, and resumes the previous task | returning to a calculation after handling input |
Four-step exam routine
Identify the exact clue and name interrupt only when its defining role fits.
State the mechanism or boundary: is generated by a hardware event or peripheral.
Apply the idea to evidence such as “two processes attempt the same memory location.”
Reject the tempting error that deletes the running program immediately.
Reason Before Naming
Saving state matters because the CPU must know how to return to the interrupted program.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
The CPU saves its current state before running the ISR so it can return to the interrupted program afterwards.
| Scenario clue | What it proves |
|---|---|
| interrupt signal | alerts CPU |
| save state | return later |
| ISR | handle event |
| priority | choose order |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- interrupt: signal requesting CPU attention
- ISR: routine that handles an interrupt
- CPU state: current register/status information
- priority: importance level of an interrupt
A strong answer keeps the order clear and separates the signal from the handler.
| Term | Use in this lesson |
|---|---|
| interrupt | signal requesting CPU attention |
| ISR | routine that handles an interrupt |
| CPU state | current register/status information |
| priority | importance level of an interrupt |
A Common Mix-Up
A common mistake is saying an interrupt permanently terminates the current program.
Fix: Use the sequence: interrupt arrives, save state, run ISR, restore state, continue.
| Mistake | Correction |
|---|---|
| A common mistake is saying an interrupt permanently terminates the current program. | Use the sequence: interrupt arrives, save state, run ISR, restore state, continue. |
High-Level vs. Low-Level Programming Languages
The defining description of high-level language is “uses statements closer to human language and is generally easier to read, write, and debug.” Connect it with high-level machine independence, whose role is “allows source code to be translated for different processor types.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| high-level language | uses statements closer to human language and is generally easier to read, write, and debug | a portable program written without CPU-specific opcodes |
| high-level machine independence | allows source code to be translated for different processor types | building the same program for two CPU families |
| low-level language | is closely related to a processor's instruction set and hardware | assembly language for a target CPU |
| assembly mnemonic | is a short symbolic instruction representing a machine operation | ADD or MOV |
| low-level hardware control | supports direct manipulation of registers and hardware with efficient target-specific code | code for an embedded controller |
| language trade-off | balances development ease and portability against direct control and processor dependence | choosing a high-level language for a business app |
Four-step exam routine
Identify the exact clue and name high-level language only when its defining role fits.
State the mechanism or boundary: allows source code to be translated for different processor types.
Apply the idea to evidence such as “assembly language for a target CPU.”
Reject the tempting error that is a complete graphical interface.
Reason Before Naming
The CPU only executes machine code, so all non-machine-code programs need translation at some point.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
Assembly language uses mnemonics that are easier than binary, but it is still low-level and specific to a processor.
| Scenario clue | What it proves |
|---|---|
| readable/portable | high-level |
| mnemonics | assembly |
| binary opcodes | machine code |
| hardware registers | low-level |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- high-level language: language closer to human problem-solving
- low-level language: language closer to hardware instructions
- assembly language: low-level language using mnemonics
- machine code: binary instructions executed by the CPU
A strong answer chooses a language level from the scenario's constraints.
| Term | Use in this lesson |
|---|---|
| high-level language | language closer to human problem-solving |
| low-level language | language closer to hardware instructions |
| assembly language | low-level language using mnemonics |
| machine code | binary instructions executed by the CPU |
A Common Mix-Up
A common mistake is saying high-level code can run directly on the CPU without translation.
Fix: Use the trade-off: readability and portability versus hardware control and machine dependence.
| Mistake | Correction |
|---|---|
| A common mistake is saying high-level code can run directly on the CPU without translation. | Use the trade-off: readability and portability versus hardware control and machine dependence. |
Translators (Compiler, Interpreter, Assembler)
The defining description of compiler is “translates the whole high-level program before execution and can produce an executable file.” Connect it with compiler error report, whose role is “reports detected errors for the translated program after compilation.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| compiler | translates the whole high-level program before execution and can produce an executable file | building a final program release |
| compiler error report | reports detected errors for the translated program after compilation | a list of source-code errors |
| interpreter | translates and executes high-level code line by line | running code during development |
| interpreter error handling | stops execution when it reaches an error | earlier valid lines run before a faulty line |
| assembler | translates assembly-language mnemonics into machine code | converting ADD into its opcode |
| translator selection | often uses an interpreter for iterative development and a compiler for a distributable final program | testing line by line, then producing an executable |
Four-step exam routine
Identify the exact clue and name compiler only when its defining role fits.
State the mechanism or boundary: reports detected errors for the translated program after compilation.
Apply the idea to evidence such as “running code during development.”
Reject the tempting error that reports all later runtime paths without executing them.
Reason Before Naming
Translation is needed because source code is not usually the binary machine code the CPU executes.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
An interpreter translates and executes a program line by line, which can make testing easier but can make execution slower.
| Scenario clue | What it proves |
|---|---|
| executable file | compiler |
| test each line | interpreter |
| mnemonics | assembler |
| binary output | machine code |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- compiler: translates a whole program before execution
- interpreter: translates and runs code line by line
- assembler: translates assembly language into machine code
- source code: program code before translation
A strong answer gives the translator and the evidence from the scenario.
| Term | Use in this lesson |
|---|---|
| compiler | translates a whole program before execution |
| interpreter | translates and runs code line by line |
| assembler | translates assembly language into machine code |
| source code | program code before translation |
A Common Mix-Up
A common mistake is saying every translator is a compiler.
Fix: Match the translator to the input: high-level whole program, high-level line by line, or assembly.
| Mistake | Correction |
|---|---|
| A common mistake is saying every translator is a compiler. | Match the translator to the input: high-level whole program, high-level line by line, or assembly. |
Integrated Development Environments (IDEs)
The defining description of IDE code editor is “provides an area and tools for writing and editing source code.” Connect it with IDE run-time environment, whose role is “allows a program to be executed and tested during development.”
Required vocabulary and boundaries
| Idea | Precise role | Evidence or example |
|---|---|---|
| IDE code editor | provides an area and tools for writing and editing source code | line numbering and syntax colouring |
| IDE run-time environment | allows a program to be executed and tested during development | running the current build inside the IDE |
| IDE translator access | invokes a compiler or interpreter for the selected language | building or running source code |
| IDE error diagnostics | identifies errors and provides messages or locations to help correction | highlighting a syntax error on a line |
| IDE auto-completion and auto-correction | suggest or complete identifiers and correct recognised code patterns while code is typed | offering a declared variable name or correcting a known token |
| IDE prettyprint | formats code consistently to improve readability | aligning indentation and spacing |
Four-step exam routine
Identify the exact clue and name IDE code editor only when its defining role fits.
State the mechanism or boundary: allows a program to be executed and tested during development.
Apply the idea to evidence such as “building or running source code.”
Reject the tempting error that guarantees the program has no logic errors.
Reason Before Naming
IDE questions usually reward purpose, not just naming features.
Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.
The debugger lets a programmer step through code and inspect variables, making it easier to find where a logic error occurs.
| Scenario clue | What it proves |
|---|---|
| wrong variable value | debugger/watch |
| program stops at chosen line | breakpoint |
| misspelled keyword | editor highlighting/error |
| create executable | build/compiler |
When The Scenario Is Less Obvious
The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.
- IDE: combined programming tool environment
- syntax highlighting: colouring code to show structure
- breakpoint: place where execution pauses
- debugger: tool for finding and investigating errors
A strong answer connects the IDE feature to the exact programming problem.
| Term | Use in this lesson |
|---|---|
| IDE | combined programming tool environment |
| syntax highlighting | colouring code to show structure |
| breakpoint | place where execution pauses |
| debugger | tool for finding and investigating errors |
A Common Mix-Up
A common mistake is saying every IDE feature automatically fixes the program.
Fix: For each feature, say what it does and how that helps the programmer.
| Mistake | Correction |
|---|---|
| A common mistake is saying every IDE feature automatically fixes the program. | For each feature, say what it does and how that helps the programmer. |
Turn knowledge into marks
A high-quality response does more than recall a term. It selects the command word, states the exact role, follows the mechanism in order, and connects the effect to the scenario.
Define precisely
For system software, begin with the defining role: provides services needed for the computer to operate. Do not replace the definition with an example.
Describe a process
Use an ordered chain. Name what enters, what changes or is checked, and what result follows. A useful anchor here is “loading and running a browser.”
Apply or justify
Quote the scenario need, select IDE auto-completion and auto-correction, then link its role — suggest or complete identifiers and correct recognised code patterns while code is typed — to the required outcome.
Repair a misconception
Do not accept the claim that prints the source code on paper only. Replace it with the exact boundary: formats code consistently to improve readability.
Mark-by-mark response ladder
- Name: use the exact syllabus term.
- Role: define what that term does or represents.
- Mechanism: describe the relevant steps in their logical order.
- Context: explain why that mechanism matters in the stated scenario.
- Boundary: avoid claiming more than the method guarantees.
Last-pass checklist
Mapped to Cambridge IGCSE Computer Science 0478 · 2026–2028 syllabus, version 5