You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers the purpose and functions of an operating system (OS), a key topic in AQA and OCR GCSE Computer Science. You need to understand what an operating system does, why it is needed, and its core management functions.
An operating system is a piece of systems software that manages the computer's hardware and software resources and provides a platform for application software to run. Without an operating system, you would need to write low-level code to interact directly with every piece of hardware — an impractical task for everyday users.
Examples of operating systems:
The OS acts as an intermediary between the user, application software, and the hardware. Its main purposes are:
The operating system sits between the user (and their applications) and the hardware, providing services through well-defined layers.
graph TD
A["User"] --> B["Application Software"]
B --> C["Operating System"]
C --> D["Memory Manager"]
C --> E["Process Scheduler"]
C --> F["File System"]
C --> G["Device Drivers"]
C --> H["Security / User Accounts"]
D --> I["Hardware (CPU, RAM, Storage, I/O)"]
E --> I
F --> I
G --> I
The OS provides the interface through which users interact with the computer:
| Interface Type | Description | Example |
|---|---|---|
| GUI (Graphical User Interface) | Windows, icons, menus, and pointers (WIMP) | Windows 11 desktop, macOS |
| CLI (Command-Line Interface) | Text-based; user types commands | Linux terminal, Windows Command Prompt |
| Touch interface | Optimised for touchscreen gestures | Android, iOS |
The OS manages RAM to ensure all running programs have enough memory:
Without memory management, programs could overwrite each other's data, causing crashes.
When multiple programs are running, the OS decides which program gets to use the CPU and for how long:
The OS organises and manages files stored on secondary storage:
The OS manages input and output devices (peripherals) such as printers, keyboards, mice, and monitors:
| Peripheral | Driver Required? | Managed By OS? |
|---|---|---|
| Keyboard | Yes (usually built-in) | Yes |
| Printer | Yes (often needs installing) | Yes (print queue) |
| USB drive | Yes (usually built-in) | Yes (file system) |
| Graphics card | Yes (needs installing) | Yes |
The OS manages security to protect the system and data:
Modern operating systems are multitasking — they appear to run multiple programs at the same time. In reality, the CPU processes one instruction at a time (per core), but the OS switches between programs so quickly that the user perceives simultaneous execution.
How it works:
Exam Tip: Be careful — the OS does not make programs run truly simultaneously on a single core. It gives the illusion of multitasking through rapid context switching. True simultaneous processing requires multiple cores.
Key Vocabulary: operating system, GUI, CLI, memory management, virtual memory, multitasking, scheduling, interrupt, file system, device driver, peripheral, context switching, user account, firewall.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.