Skip to content

1.5.1 Operating systems

GCSE · Paper 1 · Computer systems · Section 1.5 · 17 flashcards · 11 practice questions

Questions

1.5.1 Operating systems

Every computer, tablet and phone needs an operating system. Without one, the hardware could not run any programs, and the user would have no way to use the machine.

Definition
An operating system (OS) is the software that manages the computer's hardware and runs the other software. It sits between the user, the applications and the hardware.

An operating system is system software. Applications such as a word processor or a game need the operating system to be running first. The OS has five main jobs, which you need to know.

  • 1.
    Provide a user interface
  • 2.
    Manage memory and allow multitasking
  • 3.
    Manage peripherals, using drivers
  • 4.
    Manage users
  • 5.
    Manage files

User interface

Definition
The user interface (UI) is how a person communicates with the computer. The operating system provides it.

Most computers use a graphical user interface (GUI). A GUI has these features:

  • •
    Windows: each program runs in its own box that can be moved and resized.
  • •
    Icons: small pictures that stand for programs, files and folders.
  • •
    Menus: lists of choices, such as File and Edit.
  • •
    Pointer: an arrow that you move with a mouse, a trackpad or your finger.
A GUI is easy for beginners because you do not have to remember commands. Another type, the command line interface, lets the user type text commands. It is faster for expert users, but harder to learn.

Memory management and multitasking

Definition
Memory management is the operating system's job of controlling the computer's main memory (RAM): deciding where each program and its data are placed, and making sure they do not interfere with each other.

Programs and data are kept on secondary storage, such as a hard drive or SSD. To run a program, its instructions and data must be transferred from secondary storage into RAM, where the processor can use them. When a program is closed, the OS releases the space it was using so that it can be used again.

The operating system also allocates (gives out) a part of memory to each application that is running. This is important for two reasons:

  • •
    Each application has its own space, so one program cannot overwrite the data of another.
  • •
    It makes sure the space is used efficiently, so that as many programs as possible can be kept in memory.

Multitasking

Definition
Multitasking is when a computer appears to run more than one program at the same time.

You can listen to music, download a file and type an essay at once. A processor can only work on one task at a time, but it can switch between tasks so quickly that they all seem to run together. For this to work, the OS must keep every program that is open in memory at the same time, and keep their data separate.

Key Point
Memory management is what makes multitasking possible: the operating system allocates a separate part of memory to each running program, so the processor can switch between them without them mixing up their data.

You do not need to know how the operating system decides which program goes next, or how memory is split up.

Peripheral management and drivers

Definition
A peripheral is a hardware device connected to a computer, such as a keyboard, mouse, printer, monitor or scanner.

Data has to move between each peripheral and the processor. Input devices send data in, and output devices receive data from the computer. Every device works in a different way, and they work at different speeds, so this movement must be managed. The operating system controls how the data moves, and makes sure that the devices do not get in each other's way. For example, it can store the data waiting to be printed so that the user can carry on working.

Device drivers

Definition
A device driver is a small program that lets the operating system communicate with a particular piece of hardware.

Each type of device needs its own driver. The driver translates the instructions from the operating system into commands that the device understands. When you plug in a new printer, the OS needs the correct driver for that printer. Many are installed automatically. If the driver is missing or out of date, the device may not work properly.

Example
A user presses Print. The operating system sends the document to the printer driver. The driver turns it into the instructions that this model of printer understands, and the printer prints it.

User management

Definition
User management is how the operating system sets up and controls who is allowed to use a computer, and what they can do.

Computers shared by many people, such as in a school, need separate user accounts. Each person has a username and a password to log in. User management lets the OS:

  • •
    create and delete accounts
  • •
    keep each user's files and settings separate (so each user sees their own desktop)
  • •
    set access rights, which decide which files and settings each user can open, change or delete
  • •
    protect the computer from unauthorised use, because only people with a valid login can get in
Different accounts can have different levels. An administrator can install software and change settings for everyone. A standard user cannot.

File management

Definition
File management is how the operating system organises, stores and finds the files on the computer's storage.

The OS provides tools to work with files. A user can:

  • •
    name a file (and rename it later)
  • •
    save a file onto storage, and open it again
  • •
    create folders (directories) and put files in them, so they can be organised and found
  • •
    move and copy files between folders and drives
  • •
    delete files
  • •
    search for a file by name or type
Folders can be placed inside other folders. This builds a tree-like folder structure. The OS also keeps track of where on the disk each file is saved, and the user does not have to know this.
Exam Tip
A good file name tells you what the file holds, for example "Maths homework Sept.docx". Folders keep related files together, which makes them easy to find.

Summary

FunctionWhat the OS does
User interfaceLets the user communicate with the computer (windows, icons, menus, pointer)
Memory managementMoves programs into RAM, gives each its own space, frees space after use
MultitaskingKeeps several programs in memory so the processor can switch between them
Peripheral managementControls data moving between devices and the processor, using drivers
User managementAccounts, logins, access rights and security
File managementNaming, saving, folders, moving and deleting files

Exam technique

  • •
    State or give: a short fact, such as one function of an operating system.
  • •
    Describe: say what the function does. "The OS allocates a part of memory to each program that is running."
  • •
    Explain: give a reason. "Drivers are needed because each device works differently, and the OS cannot control it without one."
  • •
    Make sure you answer about the operating system, not about an application. Do not say "it saves your work": the application does that, and the OS manages the file.
  • •
    Do not describe paging, segmentation or how tasks are scheduled. These are not needed.