1.5.1

Operating systems

Purpose of an OS and functions like the user interface, memory, file, user and peripheral management.

Learning Objectives

  • 1Describe the purpose of an operating system
  • 2Describe the features of a user interface
  • 3Explain memory management and how it enables multitasking
  • 4Explain peripheral management and the role of device drivers
  • 5Describe the user management and file management functions of an OS

What is an operating system?

An operating system (OS), such as Windows, macOS or Linux, is software that manages and controls a computer, without it a computer would not be usable. The OS provides a user interface so people can interact with the computer, most commonly a graphical user interface (GUI), using icons, windows and menus you click on, or a command line interface, where you type text-based commands instead.
An operating system manages and controls a computer's hardware and software, providing a foundation that other programs run on. One of its key jobs is providing a user interface so users can interact with the computer. A graphical user interface (GUI) uses visual elements like icons, windows and menus, making it easy and intuitive to use. A command line interface (CLI) requires the user to type text-based commands, less visual, but can be faster for experienced users.
The operating system is the essential software layer that manages a computer's hardware and resources, without it the computer could not run any other software. Its user interface function provides the means by which a user interacts with the system: a GUI prioritises visual, intuitive interaction (icons, windows, menus), while a CLI prioritises direct, text-based control, often preferred for speed and precision by experienced/technical users.
Two kinds of user interfaceGUIGraphical user interfaceFilesPhotosSettingsIcons, windows and menus you click onIntuitive for beginners, nothing to memoriseUses more memory and processing powerCLICommand line interface> dir> copy report.txt backup> del old.tmpYou type commands as textFaster for expert users, and easy to automateYou have to know the commands already

Memory management and multitasking

The operating system decides which parts of the computer's memory (RAM) each running program can use, this is called memory management. Every program has to be loaded into RAM to run. The OS also allows multitasking: running more than one program at once, by very quickly switching between them, giving each one a small slice of the processor's time, so it looks like everything is running at the same time.
Memory management is the operating system allocating sections of RAM to different applications and keeping track of which parts are in use, all programs must be transferred into RAM to be processed. Multitasking is achieved by the OS rapidly switching between programs, giving each a small slice of processing time in turn, this happens so quickly it appears to the user that multiple programs are running simultaneously. The OS ensures each program gets the memory and processing time it needs without interfering with any other.
Memory management involves the OS allocating and tracking RAM usage across running applications, and managing the transfer of data into and out of memory as programs are opened and closed. Multitasking is enabled by rapidly time-slicing the processor between programs, an illusion of simultaneous execution, while the OS prevents one program's memory or processing from interfering with another's. You are not required to know about paging or segmentation, the specific techniques used to implement memory management.
Multitasking: rapid time-slicingOne processor, switching between programsCPU time →ABABABABProgram AProgram BSwitches so fast it looks simultaneous

Peripheral management and drivers

Peripherals are devices connected to a computer, like a keyboard, mouse, printer or monitor. Data constantly needs to move between these devices and the processor, and the OS manages this so it happens correctly. To talk to each specific piece of hardware, the OS uses a driver, a small program that acts as a translator between the OS and that device. Without the correct driver, a device may not work at all.
Peripheral management is the OS's role in managing the transfer of data between connected devices (peripherals) and the processor, sending signals to the right device when data needs to be sent or received. This is done using drivers: small programs that act as a translator between the operating system and a specific piece of hardware. Each type of hardware needs its own driver, without the correct one installed, the OS cannot properly communicate with that device.
Peripheral management coordinates data transfer between the processor and connected devices, a process that must be actively managed rather than happening automatically. Device drivers provide the necessary translation layer between the OS's general instructions and a specific device's particular hardware requirements, without the correct driver, the OS cannot issue instructions the device understands, so it may malfunction or not work at all (e.g. a printer that won't print without its driver installed).
OperatingSystemDriverPeripheral(e.g. printer)Translates instructions into a formthe specific hardware understandsNo correct driver → device may not work

User management

Many computers allow more than one person to use them, each with their own account. User management is the OS creating and controlling these accounts, including usernames and passwords, and deciding what access rights each user has, for example, an administrator account might be allowed to install software, while a standard account isn't. This also keeps each user's files private and secure from other users.
User management covers the OS creating and managing user accounts, including allocating accounts, setting access rights, and enforcing security. Different users can be given different levels of access, for example an administrator account may install software or change settings, while a standard user account cannot. The OS also keeps each user's files private from other users, and can enforce security policies such as requiring strong passwords or locking an account after too many failed login attempts.
User management encompasses account allocation, access rights, and security enforcement. Differentiated access rights (e.g. administrator vs standard user) restrict what actions each account can perform, limiting the impact of any single compromised or misused account. The OS also underpins account security directly, for example through password policies and login attempt limits, and ensures each account's files remain private from other users of the same system.

File management

File management is how the OS handles your files: giving them names, saving them, organising them into folders, and letting you move, copy, delete or rename them. The OS also keeps track of exactly where each file is physically stored, so it can find it again and doesn't accidentally overwrite one file with another.
File management covers the operating system's handling of how data is stored, organised and retrieved, including naming files, allocating them to folders, saving, and moving/copying/deleting/renaming them. The OS also tracks exactly where each file is physically stored, ensuring files save correctly and are not unintentionally overwritten.
File management is the OS function responsible for the creation, naming, organisation (into a folder/directory structure), and manipulation (moving, copying, deleting, renaming) of files, as well as tracking each file's physical storage location so it can be reliably retrieved and is protected from unintended overwriting.

Exam Phrasing: Use These Exact Phrases

  • ✓A GUI uses visual elements like icons, windows and menus; a CLI uses text-based commands
  • ✓Memory management allocates sections of RAM to applications and keeps track of what is in use
  • ✓Multitasking is achieved by rapidly switching between programs, giving each a slice of processing time
  • ✓Data must be transferred between peripherals and the processor, and this needs to be managed
  • ✓A driver is a small program that lets the OS communicate with a specific piece of hardware
  • ✓User management includes allocating accounts, setting access rights, and enforcing security
  • ✓File management includes naming, saving, organising into folders, and moving/copying/deleting files
  • 💡When describing peripheral management, don't just say it "manages peripherals", explain that it manages the transfer of data between devices and the processor, and mention the role of device drivers.
  • 💡Remember: a driver is what lets the OS communicate with a specific piece of hardware, without the right one, that device may not work.
  • 💡You are not required to know about paging or segmentation, don't go beyond the general concept of memory allocation and multitasking.
  • 💡For file management, list specific actions (naming, saving, folders, moving/deleting) rather than a vague description.

Wrong:

Peripheral management just "manages the peripherals" or "manages the hardware"

Right:

Peripheral management manages the transfer of data between peripherals and the processor, using drivers

Why it matters: OCR examiners noted candidates often rephrased the term itself instead of explaining what it actually involves.

Wrong:

File management is a type of utility software

Right:

File management is a function of the operating system, not utility software

Why it matters: This distinction is commonly tested, don't confuse OS functions (1.5.1) with utility software (1.5.2).

Wrong:

Multitasking means the CPU truly runs multiple programs at the exact same instant

Right:

Multitasking rapidly switches between programs, giving each a time slice, so it only appears simultaneous

Why it matters: The CPU is still working on one thing at a time, per core, it just switches fast enough that it looks simultaneous to the user.

Question:

A printer connected to a computer stops working after a system update. Explain, using the term "driver", why this might have happened. [2]

💡 Attempt this before revealing the answer, practice makes perfect!

Model Answer:

The system update may have removed or broken the printer's driver, the small program that lets the operating system communicate with that specific piece of hardware. Without the correct driver installed, the OS cannot properly send instructions to the printer, so it stops working correctly.

Mark Scheme:

  • 1Identifies that the driver (translator program between OS and the specific hardware) may be missing/broken
  • 2Explains that without the correct driver, the OS cannot communicate with/control that device

Tap a card to flip it. Use the arrow keys to move and space to flip.

Known 0 Still learning 0
1 / 12

Exam-style questions. Have a go, then reveal the mark scheme to check your answer.

1.State one function of an operating system.

[1]

2.Explain how an operating system achieves multitasking.

[2]

3.Describe two functions of user management performed by an operating system.

[2]

4.Describe two tasks the file management function of an operating system carries out.

[2]

5.Explain the purpose of a device driver, using an example.

[3]

6.A student says "peripheral management just manages the peripherals." Explain why this answer would not gain full marks, and give a more complete description of peripheral management.

[3]

7.Describe the difference between a graphical user interface and a command line interface, and give one reason an experienced user might prefer the command line.

[4]

8.Discuss the role of the operating system in managing a computer's resources, and explain why a user is unaware of most of what it does.

[8]

Extended response · marked in levels, not by counting points

The examiners' reports are the most useful and least read of the three: they say what candidates actually got wrong each year. All files are hosted by OCR.

Past-paper questions grouped by topic

The same OCR questions, sorted by topic rather than by year (via Physics & Maths Tutor).

2024
Paper 1

Candidates were often able to correctly identify tasks performed by memory management and file management, and gave good answers for the user interface (commonly describing it as allowing communication between the user and the computer). Far fewer could correctly identify a task performed by peripheral management, many just reworded the term itself (e.g. "it manages peripherals") without explaining what that involves. Stronger answers specifically referenced the role of device drivers in allowing communication between the computer and its peripherals.