Topic 4 Software

4.2 Operating System Trainer

Master all 8 OS functions with the exact Cambridge mark scheme wording. Know the 3 interface types. Nail the 2-part memory management answer that costs students marks every year.

🧪 Cambridge Exam Mode ON — hints hidden, feedback delayed, model answers locked until marking.
Path

4.2 Path

Mistakes

Mistakes

Progress

Stats

0%Accuracy
0Answered
0Streak
Bookmarks

Bookmarks

Book Notes

Book Notes

Title
Note
Knowledge Vault 2.0

Knowledge Vault

Add entry

Category
Confidence
Title
Info

Entries

📚 Book Notes
📖 Learn
🎮 Activities
✎ Practice
📋 Exam
🔄 Review
🏆 Mastery
§1 · Topic overview

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 in almost every session — 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.

§2 · Learning objectives

By the end of 4.2 you can…

ObjectiveWhy it matters
State and describe the functions of the OSw24 Q7a(ii) · s25 Q4b — recurring, both short and extended.
Identify what is NOT an OS functionw24 Q7a(i) — the bootstrap trap: loading the OS is not itself an OS function.
Distinguish GUI, CLI and NLIMultiple sessions — know the type, how you interact, and an example of each.
Describe memory management — both partss23 Q11c — allocation and prevention. Most candidates only gave allocation.
Describe managing peripheralsm26 Q8b — the OS provides drivers and translates data between device and computer.
Distinguish firmware from the OSm26 Q8d — firmware is on ROM and controls hardware; a platform for the OS.
§3 · Key terminology

Cambridge-approved terms

Operating system

System software that manages the hardware, runs applications and provides the interface between user and machine.

Function

A job the OS does. You should be able to name and describe several (memory, files, security, peripherals, interrupts, multitasking, user accounts, interface).

User interface

How the user communicates with the OS: GUI (graphical), CLI (command line), NLI (natural language).

Memory management

Two parts: allocation (assign memory, track free/used) and prevention (stop programs using each other's memory).

Driver

Software the OS uses to communicate with and control a specific peripheral.

Interrupt

A signal to the CPU that something needs attention — used by the OS to manage multitasking (see 4.3).

§4 · Core theory

The tables you must know cold

1. Functions of the operating system

FunctionWhat the OS does
Memory managementAllocates memory to programs and prevents programs interfering with each other's memory.
File managementOrganises, stores, retrieves and names files; manages folders and access.
SecurityManages user accounts, passwords and access rights.
Managing peripheralsProvides drivers and translates data between the computer and its devices.
Interrupt handling / multitaskingManages interrupts so several processes appear to run at once.
Providing a user interfaceLets the user communicate with the computer (GUI / CLI / NLI).

2. The three user interfaces

InterfaceHow you interactExample
GUIWindows, icons, menus, pointer — click and drag.Windows desktop, phone home screen
CLIType text commands.Command Prompt, Linux terminal
NLISpeak or type in natural language.Alexa, Siri
§5 · Common misconceptions

Traps that cost marks every session

❌ Memory management = allocation only

s23 examiner report: you also need the prevention half — stopping programs from using each other's memory.

❌ A function ≠ an example

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).

❌ Bootstrap is an OS function

w24 Q7a(i): the bootstrap loads the OS at power-on — it is not one of the OS's functions.

❌ Firmware = the OS

m26 Q8d: firmware is on ROM and controls hardware; it is a platform the OS runs on, not the OS.

❌ The OS is application software

The OS is system software — it provides the services the computer requires.

❌ Mixing up GUI / CLI / NLI

GUI = graphical (icons), CLI = typed commands, NLI = natural language (voice). Give the matching example.

§6 · Quick knowledge check

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.

1 · Name any three functions of the operating system.
Tap to reveal
Any three of: memory management, file management, security, managing peripherals, interrupt handling/multitasking, user account management, providing a user interface.
2 · What are the two parts of memory management?
Tap to reveal
Allocation (assigns memory to each program and tracks which locations are free/used) AND prevention (stops programs writing to or reading each other's memory).
3 · Name the three types of user interface.
Tap to reveal
GUI (graphical — windows, icons, pointer), CLI (command line — typed commands), NLI (natural language — voice, e.g. Alexa/Siri).
4 · Asked for "an example of system software" — what should you write?
Tap to reveal
"Operating system" or "utility program". Do NOT write a function like "memory management" — that's a job the OS does, not an example (Jun 2024 trap).
5 · What does the OS do when managing peripherals?
Tap to reveal
It provides drivers for each peripheral and translates data between the peripheral and the computer.
6 · How is firmware different from the operating system?
Tap to reveal
Firmware is stored in ROM and controls specific hardware — a platform for the OS. The OS manages all hardware/software and provides the user interface.

✅ 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. Cambridge tests a very specific set of eight 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 8 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 in almost every session (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

State and describe OS functions
w24 Q7a(ii) · s25 Q4b
Identify what is NOT an OS function
w24 Q7a(i) — bootstrap trap
Distinguish GUI, CLI and NLI
multiple sessions
Describe memory management (2 parts)
s23 Q11c
Describe managing peripherals (drivers + data)
Mar 2026 Q8b
Distinguish firmware from OS
Mar 2026 Q8d

🔑 Key Terms — quick recall

OS

Manages hardware, runs apps, interface with user.

Function

A job the OS does. There are 8.

Interface

How the user communicates with the OS: GUI, CLI, NLI.

Interrupt

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

⚠ s23 examiner report: Most candidates only got the Allocation half. The Prevention half is the missing marks — memorise both parts of memory management.

📊 Quick Knowledge Check — before you start activities

Test yourself. Click each question to reveal the answer.

1. Name any three functions of the operating system. tap to reveal ▾
Any three of: memory management, file management, security, hardware/peripheral management, interrupt handling, multitasking, user account management, providing a user interface, error handling, providing a platform for applications.
2. What are the two parts of memory management? tap to reveal ▾
Allocation (assigns memory to each program and tracks which locations are used/free) AND Prevention (stops programs writing to each other's memory or reading unauthorised memory).
3. Name the three types of user interface. tap to reveal ▾
GUI (Graphical — windows, icons, mouse). CLI (Command Line — type commands). NLI (Natural Language — speak, e.g. Alexa/Siri).
4. When asked "give an example of system software", what should you write? tap to reveal ▾
Write "operating system" or "utility program". Do NOT write functions of the OS like "memory management" — those are jobs the OS does, not examples of system software. (Jun 2024 examiner-flagged trap.)
5. What does the OS do when managing peripherals? tap to reveal ▾
The OS provides drivers for peripherals and transfers data between the peripheral and the computer. (Mar 2026 Q8b mark scheme — both parts needed.)

✅ Ready for Activities?

Read the 8 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 8 OS functions in sequence with a description. Click any cell directly to see its detail.

🖥️ InterfaceGUI · CLI · NLI
📁 FilesCreate · move · rename
🔌 PeripheralsDrivers · transfer data
🧠 MemoryAllocate · prevent overlap
🎛️ MultitaskingWhich process next
⚠️ InterruptsWhich to handle first
🏠 PlatformRuns applications
👤 User accountsSecurity · access rights
Click a function above, or press Sweep All 8 to see each one in turn with its Cambridge mark scheme wording.

📋 The 8 OS Functions — Cambridge Complete Reference

Learn the phrase in the right-hand column. That is what wins the mark.

FunctionWhat the OS actually doesCambridge MS wording
🖥️ Providing an interfaceLets the user enter and receive data through a GUI, CLI or NLI"providing an interface" · w24 MS
📁 Managing filesCreate, move, copy, delete, name, rename files and directories"managing files" · s25 MS, w24 MS
🔌 Managing peripherals & driversInstalls / maintains device drivers; sends and receives data to and from peripherals"managing peripherals" · s25 MS, Mar 2026 Q8b
🧠 Managing memoryAllocates RAM to processes; checks each has enough; prevents two processes accessing the same location"managing memory" · s25 MS, s23 Q11c
🎛️ Managing multitaskingDecides which process runs next and how long; uses interrupts to switch processes"managing multitasking" · s25 MS, w24 MS
⚠️ Handling interruptsDecides which interrupt to run based on priority; performs the required actions"handling interrupts" · w24 MS
🏠 Platform for applicationsProvides the environment / platform on which application software runs"providing a platform for running applications" · s25 MS, Mar 2026 Q8d
👤 Managing user accounts / securityCreates accounts; keeps data separate; restricts access via passwords / biometrics / access rights"managing user accounts" · "system security" · w24 MS, s25 MS
⚠ Cambridge trap: If asked to identify what is NOT an OS function, the classic wrong option is "loading the bootstrap". The bootstrap runs before the OS loads — so loading it can't be an OS function. (w24 Q7a(i))

🧠 Memory Management — the 2-part answer

This one costs students marks every year. On a 2-mark memory management question, Cambridge wants both of these points — not two versions of the same one.

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]

⚠ Mark scheme rule (s23 Q11c): BOTH parts required. One part alone = 1/2 max. Two versions of Part 1 = still 1/2 max.

Interface types — GUI vs CLI vs NLI

GUICLINLI
Full nameGraphical User InterfaceCommand Line InterfaceNatural Language Interface
HowWIMP: Windows, Icons, Menus, Pointers. Mouse/touch.User types exact text commands.User types or speaks any commands; OS analyses.
Best forNovices — intuitiveExpert users — fast, preciseAny user — most accessible
ExamplesWindows, macOS, Android, iOSLinux terminal, Command PromptSiri, Alexa, Cortana, Google Assistant
⚠ Cambridge trap: NLI does not need a specific command syntax. Students often confuse NLI with CLI. If the question says "user speaks or types anything and the system works it out" → NLI. If the question says "user must type exact commands" → CLI.

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

⚠ Mar 2026 Q8d: Both firmware AND OS "provide a platform" — but firmware provides a platform for the OS to run, whereas the OS provides a platform for applications to run. Direction matters.

⭐ 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 8 functions.

Press New Scenario.

Progress: 0/8

🎮 Activity 2 — Interface Identifier

Read the description and pick the interface type. GUI, CLI or NLI.

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

Click a phrase below...

Part 2 — Prevention

Click a phrase below...

🎮 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?

60
Score: 0
Press Start Sprint.

Adaptive practice

Press New.

Cambridge-style questions

Press New.

Review quiz

Press New.

Exam traps

⚠ 1: "Loading the bootstrap" is NOT an OS function. The bootstrap runs BEFORE the OS loads. (w24 Q7a(i))
⚠ 2: Memory management needs BOTH parts: (1) allocates memory and (2) prevents overlap. Two variants of the same point = half marks. (s23 Q11c)
⚠ 3: "Managing peripherals" = installs drivers AND transfers data to/from peripherals. Not just one. (Mar 2026 Q8b)
⚠ 4: When asked for a FUNCTION, give a job (e.g. "manages files"). When asked for an EXAMPLE of system software, give a category (e.g. "operating system"). Do not swap.
⚠ 5: Multitasking uses interrupts to switch between processes. Don't leave out the interrupts detail — it's often a mark. (w24 MS)
⚠ 6: NLI = user types or SPEAKS anything. CLI = user types EXACT commands. Don't confuse them.
⚠ 7: Firmware provides a platform for the OS. OS provides a platform for applications. Direction matters. (Mar 2026 Q8d)

Memory triggers

🧠 "8 Functions = I FiP MMI PU"

Interface, Files, Peripherals, Memory, Multitasking, Interrupts, Platform, User accounts. Memorise the sequence.

🧠 "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

[ ] Define an operating system
[ ] Name all 8 OS functions
[ ] Describe managing files
[ ] Describe managing peripherals (drivers + data)
[ ] Describe memory management (both parts)
[ ] Describe managing multitasking (with interrupts)
[ ] Distinguish GUI, CLI and NLI
[ ] Distinguish firmware from OS
[ ] Identify NON-functions (bootstrap trap)
[ ] Cambridge exam confidence

Next up

Excellent — 8 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".

Developer Panel