4.2 Operating System Trainer
Master all 9 OS functions in the syllabus with the exact Cambridge wording. Know the 3 interface types. Nail the 2-part memory management answer that regularly costs students marks.
4.2 Path
Mistakes
Stats
Bookmarks
Book Notes
Knowledge Vault
Add entry
Entries
What do I need to know before I start?
The operating system (OS) is the most important piece of system software on any computer. Its purpose is to allow the user to interact with the hardware and to manage the running of all software and hardware. Without an OS, applications cannot run and the user cannot communicate with the machine. Cambridge tests the OS regularly — from 1-mark "state a function" up to 8-mark extended answers. The two things that lose marks: giving a function of the OS when asked for an example of system software, and giving only half of memory management.
By the end of 4.2 you can…
| Objective | Why it matters |
|---|---|
| State and describe the functions of the OS | w24 Q7a(ii) · s25 Q4b — recurring, both short and extended. |
| Identify what is NOT an OS function | w24 Q7a(i) — the bootstrap trap: loading the bootstrap is not an OS function. |
| Distinguish GUI, CLI and NLI | Useful background — the syllabus only asks for "providing an interface", but textbooks describe it with these three types. |
| Describe memory management — both parts | s23 Q11c — allocation and prevention. Most candidates only gave allocation. |
| Describe managing peripherals | m26 Q8b — the OS provides drivers and translates data between device and computer. |
| Distinguish firmware from the OS | m26 Q8d — firmware is on ROM and controls hardware; a platform for the OS. |
Cambridge-approved terms
System software that manages the hardware, runs applications and provides the interface between user and machine.
A job the OS does. The syllabus lists nine: files, interrupts, interface, peripherals and drivers, memory, multitasking, platform for applications, system security, user accounts.
How the user communicates with the OS: GUI (graphical), CLI (command line), NLI (natural language).
Two parts: allocation (assign memory, track free/used) and prevention (stop programs using each other's memory).
Software the OS uses to communicate with and control a specific peripheral.
A signal to the CPU that something needs attention — used by the OS to manage multitasking (see 4.3).
The tables you must know cold
1. Functions of the operating system
| Function | What the OS does |
|---|---|
| Managing files | Organises, stores, retrieves and names files; manages folders. |
| Handling interrupts | Decides which interrupt to deal with first (priority) and runs the routine to handle it. |
| Providing an interface | Lets the user communicate with the computer (e.g. GUI / CLI / NLI). |
| Managing peripherals and drivers | Provides drivers and transfers data between the computer and its devices. |
| Managing memory | Allocates memory to programs and prevents programs interfering with each other's memory. |
| Managing multitasking | Decides which process runs next and for how long, so several appear to run at once. |
| Providing a platform for applications | Provides the environment that application software runs on. |
| Providing system security | Protects the system from unauthorised access (access rights, firewall, updates). |
| Managing user accounts | Creates accounts; users log in; keeps each user's data separate. |
2. The three user interfaces (useful background)
| Interface | How you interact | Example |
|---|---|---|
| GUI | Windows, icons, menus, pointer — click and drag. | Windows desktop, phone home screen |
| CLI | Type text commands. | Command Prompt, Linux terminal |
| NLI | Speak or type in natural language. | Alexa, Siri |
Traps that regularly cost marks
s23 examiner report: you also need the prevention half — stopping programs from using each other's memory.
Jun 2024 trap: for "an example of system software" write operating system or utility program — not "memory management" (that's a job the OS does).
w24 Q7a(i): the bootstrap loads the OS at power-on — it is not one of the OS's functions.
m26 Q8d: firmware is on ROM and controls hardware; it is a platform the OS runs on, not the OS.
The OS is system software — it provides the services the computer requires.
GUI = graphical (icons), CLI = typed commands, NLI = natural language (voice). Give the matching example.
Check yourself — tap to reveal
Answer in your head, then tap to see the model answer. Aim for 5 of 6 before moving to Learn.
✅ Ready for Learn?
Before moving on, make sure you can answer these without notes:
- State the purpose of the OS in the exact mark-scheme phrasing.
- Name and describe at least four OS functions.
- Give both parts of memory management.
- Distinguish GUI, CLI and NLI with an example of each.
- Explain how firmware differs from the OS.
📚 From the Textbook
Before operating systems existed, early computer programmers had to write code that spoke directly to the hardware — flipping switches on control panels, wiring plugs, and knowing exactly which memory address stored which value. If you wanted to run a second program, you had to unload the first one by hand. As computers got faster and more people started using them, this became impossible to manage. So in the 1950s and 60s, engineers built the first operating systems — a special layer of software that would sit between the programs and the hardware, doing all the shared jobs (memory, files, hardware control, security) so that every application didn't have to reinvent them. Today, every device you use — your phone, your smart TV, your car's dashboard, even your washing machine — has an operating system. The syllabus lists a specific set of nine functions the OS performs, and getting the exact wording right is what wins the marks.
📢 Getting Started
Pick up your phone. Right now, without you doing anything, it is: managing memory so open apps don't crash into each other, handling notifications, watching the battery, keeping WiFi connected, protecting your account from other users, tracking which files each app can access, and pausing music when a call comes in. That's the operating system at work. Count how many things you can see on your screen — how many of them do you think need the OS to be running behind them?
🌍 In Context — operating systems are everywhere
You use several operating systems every day without thinking about it:
- Desktop / laptop — Windows, macOS, Linux, ChromeOS
- Phones & tablets — iOS, Android
- Games consoles — PlayStation OS, Xbox OS, Nintendo Switch OS
- Cars — real-time operating systems (RTOS) for engine control and infotainment
- Smart devices — even your smart TV, smart doorbell and smart fridge have small embedded OSes
🤔 Discussion — what would software be like without an OS?
Imagine every app on your phone had to include its own code for managing memory, talking to WiFi, drawing on the screen, and handling passwords. What would the apps be like — bigger or smaller? Would you be able to run two apps at once? Could different apps trust each other? What does having a shared OS actually give the whole software ecosystem?
Ready to move on? Read the Book Notes below, then use the OS Functions Sweep to see all 9 in action.
📚 Book Notes — Read This First
📖 Topic Overview
The Operating System (OS) is the most important piece of system software on any computer. Its purpose is to allow the user to interact with the hardware and to manage the running of all software and hardware. Without an OS, applications cannot run and users cannot communicate with the machine. Cambridge tests the OS regularly (s23, w23, s24, w24, s25, w25, m26) — questions range from 1-mark "state a function" to 8-mark extended responses.
🎯 Learning Objectives — with Cambridge paper references
🔑 Key Terms — quick recall
Manages hardware, runs apps, interface with user.
A job the OS does. The syllabus lists 9.
How the user communicates with the OS: GUI, CLI, NLI.
Signal to CPU that something needs attention. Used for multitasking.
✍️ Worked Example — s23 Q11c style
Q: Explain what is meant by memory management as a function of the operating system. [4 marks] s23 Q11c
Model answer (both parts needed for full marks):
Part 1 — Allocation. The operating system allocates memory to each program that needs to run. 1 mark
It keeps track of which memory locations are in use and which are free. 1 mark
Part 2 — Prevention. It prevents two programs from writing to the same memory location at the same time. 1 mark
And it prevents one program from accessing memory that has been allocated to another program. 1 mark
📊 Quick Knowledge Check — before you start activities
Test yourself. Click each question to reveal the answer.
✅ Ready for Activities?
Read the 9 OS functions table below. When you can name and describe 6 of them without looking, jump to Activities → OS Scenario Matcher.
What is an Operating System?
An operating system is a program that manages the computer, allows the user to communicate with the computer, and allows software to be run. Familiar OS brands: Windows, macOS, Linux (PCs/laptops); Android, iOS (mobile). Cambridge doesn't want brand names in answers — describe what the OS does.
Manages the user
Lets the user interact with the machine — via GUI, CLI or NLI.
Manages hardware
Controls memory, files, peripherals, interrupts, multitasking.
Manages software
Provides a platform for application software to run. Loads, runs and closes apps.
🎬 OS Functions Sweep
Press Sweep to highlight each of the 9 OS functions in sequence with a description. Click any cell directly to see its detail.
📋 The 9 OS Functions — Syllabus Reference
Learn the phrase in the right-hand column. That is what wins the mark.
| Function | What the OS actually does | Cambridge MS wording |
|---|---|---|
| 🖥️ Providing an interface | Lets the user enter and receive data through a GUI, CLI or NLI | "providing an interface" · w24 MS |
| 📁 Managing files | Create, move, copy, delete, name, rename files and directories | "managing files" · s25 MS, w24 MS |
| 🔌 Managing peripherals & drivers | Installs / maintains device drivers; sends and receives data to and from peripherals | "managing peripherals" · s25 MS, Mar 2026 Q8b |
| 🧠 Managing memory | Allocates RAM to processes; checks each has enough; prevents two processes accessing the same location | "managing memory" · s25 MS, s23 Q11c |
| 🎛️ Managing multitasking | Decides which process runs next and how long; uses interrupts to switch processes | "managing multitasking" · s25 MS, w24 MS |
| ⚠️ Handling interrupts | Decides which interrupt to run based on priority; performs the required actions | "handling interrupts" · w24 MS |
| 🏠 Platform for applications | Provides the environment / platform on which application software runs | "providing a platform for running applications" · s25 MS, Mar 2026 Q8d |
| 🛡️ Providing system security | Protects the system from unauthorised access — access rights / permissions, firewall, security updates | "providing system security" · w24 MS, s25 MS |
| 👤 Managing user accounts | Creates accounts; users log in with passwords / biometrics; keeps each user's data separate | "managing user accounts" · w24 MS, s25 MS |
🧠 Memory Management — the 2-part answer
This one regularly costs students marks. On a 2-mark memory management question, the safest answer gives one point from each part.
Part 1 — Allocation
• The OS allocates RAM to processes.
• It checks that each process has enough memory to perform its function.
• It manages what gets allocated where in memory. [1 mark]
Part 2 — Prevention
• The OS prevents two processes from accessing the same memory location. [1 mark]
Interface types — GUI vs CLI vs NLI
Useful background: the syllabus only asks for providing an interface, but textbooks use these three types to describe it.
| GUI | CLI | NLI | |
|---|---|---|---|
| Full name | Graphical User Interface | Command Line Interface | Natural Language Interface |
| How | WIMP: Windows, Icons, Menus, Pointers. Mouse/touch. | User types exact text commands. | User types or speaks any commands; OS analyses. |
| Best for | Novices — intuitive | Expert users — fast, precise | Any user — most accessible |
| Examples | Windows, macOS, Android, iOS | Linux terminal, Command Prompt | Siri, Alexa, Cortana, Google Assistant |
Firmware vs OS — mark scheme distinction
🔧 Firmware
• Software written into non-volatile / ROM
• Configures / controls the hardware
• Provides the OS with a platform to run
⚙️ Operating System
• Manages hardware
• Provides an interface between user and hardware
• Provides a platform for application software to run
⭐ Activity 1 — OS Scenario Matcher (Signature)
Read the scenario and pick which OS function is being described. Mirrors the Cambridge w24 Q7a(ii) 2-mark format. Cycles through all 9 functions.
Press New Scenario.
🎮 Activity 2 — Interface Identifier
Read the description and pick the interface type. GUI, CLI or NLI. (Useful background — the syllabus only asks for "providing an interface".)
Press New.
🎮 Activity 3 — Memory Management Builder
Click one phrase for Part 1 and one for Part 2 to build the s23 Q11c 2-mark model answer.
Part 1 — Allocation
Part 2 — Prevention
🎮 Activity 4 — Spot the Mistake
Each statement contains a Cambridge-style misconception. Pick the one that is WRONG.
Press New.
⏱️ Activity 5 — 60-Second OS Function Sprint
Rapid-fire OS function identification. Read the short description and pick the correct OS function. How many can you nail in 60 seconds?
Practice questions
Press New.
Cambridge-style questions
Press New.
Review quiz
Press New.
Exam traps
Memory triggers
🧠 "9 Functions = I FiP MMI PSU"
Interface, Files, Peripherals, Memory, Multitasking, Interrupts, Platform, Security, User accounts. PSU, like a power supply unit.
🧠 "Memory = Allocate + Prevent"
Two words. Two marks. Never one without the other.
🧠 "Peripherals = Drivers + Data"
Two components. If you only say "installs drivers" you get 1 of 2. Say "and transfers data to/from peripherals" for the second mark.
🧠 "GUI = novice, CLI = expert, NLI = talking"
Three types of interface. One line per type. Never mix them.
Mastery Map
Checkpoints
Next up
Excellent — 9 functions locked in. Next is 4.3 Interrupts Lab, where we go deep on hardware vs software interrupts, priority, the interrupt handler (IH), the interrupt service routine (ISR), and the exam-critical distinction between "an interrupt" and "a device".