Operating systems

GCSE Computer Science (Edexcel) · Edexcel 1CP2 · 3.2.1 · Computers › Software

75 exam-style questions on this topic, at up to four difficulty levels, with full mark schemes. Notes and past-paper booklets are open to everyone. Practice needs a free account.

Or take a quick quiz: 10 questions on this subtopic in GCSE Computer Science (Edexcel), marked as you tap.

Revision notes

The operating system (OS) is the software that manages a computer's hardware and software and lets application programs run. The specification lists four functions: file management, process management, peripheral management and user management. Paper 1 asks you to state and describe these functions, often in a context such as a school network or a smartphone.

Key facts

  • OS: manages hardware and software; a platform for applications; provides the user interface
  • Four functions: file, process, peripheral and user management
  • File management: folders (hierarchy), naming, saving, finding, access rights
  • Process management: scheduling time slices, multitasking, priorities, allocating memory
  • Peripheral management: device drivers, print queues, handling input and output
  • User management: accounts, authentication, access rights, profiles
  • Device driver: software that translates OS commands for one specific device
  • Multitasking: switching quickly between processes so they seem to run at once

Notes

What an operating system is for

  • The operating system manages the computer's hardware (processor, memory, storage and devices) and software.
  • It provides a platform for application software to run on, and a user interface so that people can use the computer.
  • Examples: Windows, macOS, Linux, Android and iOS.

File management

diagram
  • Organises files into a hierarchy of folders (directories), starting from a root folder.
  • Lets users and programs create, name, save, open, copy, move, rename and delete files.
  • Keeps track of where each file is stored on secondary storage. Each file has a unique path, e.g. C:\School\History\essay.docx.
  • C:\ (root)SchoolGamesHistoryMathsessay.docxC:\School\History\essay.docxpath:
    Files are organised in a hierarchy of folders. The path lists the folders from the root down to the file
  • Sets access rights (permissions), such as read-only, and stops two people editing the same file at once.

Process management

diagram
  • A process is a program that is running.
  • A processor can only run one process at any moment. The OS schedules processes, giving each a short time slice in turn and switching so fast that they seem to run at the same time. This is multitasking.
  • callgamecallgamecallgamecallgametimeeach block is one time slice
    One processor, two processes: the OS switches between them so fast that both seem to run at once
  • Important processes can be given a higher priority, so they get the processor first or more often.
  • The OS gives each process its own area of main memory, stops processes interfering with each other, and frees the memory when a process ends.

Peripheral management

diagram
  • Peripherals are devices connected to the computer, such as keyboards, printers, webcams and external drives.
  • The OS uses a device driver for each one: software that translates the OS's general commands into commands that the particular device understands.
  • OperatingsystemPrinterdriverPrintergeneral commandprinter's own commands
    The driver is the translator between the OS and one particular device
  • It manages input and output, e.g. queuing print jobs so you can carry on working, and reporting problems such as a paper jam.

User management

  • Each person has a user account, and logs in with a username and password, PIN or fingerprint (authentication).
  • Access rights control which files, programs and settings each user can use.
  • Each user has their own profile, settings and storage area. An administrator can create and delete accounts and reset passwords.
  • The OS can record who logged in and when.

How to answer each type of question

Identify the function of an operating system

1 markGrade 3
  1. Look for the clue in the question: a device → peripheral; passwords or log-ins → user; running programs → process; folders or saving → file.
  2. Tick or give exactly one answer.

Example. Identify the function of an operating system that makes sure a newly connected webcam can be used by the computer. (1)
A File management
B Peripheral management
C Process management
D User management

Show the model answerHide the model answer
B Peripheral management (1)

Describe a function in a context

2 to 4 marksGrade 5
  1. Name the function you are describing.
  2. Give one separate point per mark: what the OS does and why.
  3. Use the people and devices in the scenario.

Example. A family shares one laptop.
Describe how the operating system's user management could be used on this laptop. (3)

Show the model answerHide the model answer
Any three from: each family member has their own user account (1); protected by a password or PIN, so only that person can log in to it (1); access rights stop some users, e.g. the children, from installing software or changing settings (1); each account keeps its own files and settings separate from the others (1); a parent can be the administrator who creates accounts and resets passwords (1).

Explain the need for a device driver

2 marksGrade 5
  1. Say that different devices (even different models) understand different commands.
  2. Say that the driver translates the OS's general instructions into commands for that particular device.

Example. Explain why an operating system needs a device driver before it can use a new printer. (2)

Show the model answerHide the model answer
Each model of printer understands its own set of commands (1). The driver translates the operating system's general print instructions into the commands this particular printer understands (1).

Explain how multitasking works

3 to 4 marksGrade 6
  1. Say that the processor can only run one process at any moment.
  2. Describe time slices given to each process in turn.
  3. Say that switching is so fast that the programs appear to run at the same time.
  4. If there is a context, mention priority for the process that must not be delayed.

Example. Sam's computer has one processor. Sam is on a video call while a game downloads an update in the background.
Explain how the operating system allows both programs to run at the same time. (3)

Show the model answerHide the model answer
Any three from: each running program is a process managed by the operating system (1); the processor can only run one process at any moment, so the OS gives each process a short time slice in turn (1); it switches between them so quickly that they appear to run at the same time (1); it can give the video call a higher priority so that the picture and sound do not freeze (1).

Don’t lose marks

  • Writing 'the OS controls the computer' with no detail. Say which function and what it actually does.
  • Saying that programs run at exactly the same time on one processor. The OS switches between them very quickly.
  • Saying that a device driver is a piece of hardware. It is software.
  • Listing utility software, such as backup or defragmentation, when asked for the four operating system functions.
  • Giving permissions without saying who they apply to, e.g. 'students have read-only access to the Staff folder'.

More tips

Memory tricks

  • Four functions: Files, Processes, Peripherals, Users. 'Fish Prefer Ponds Usually.'
  • One keyword each: files → folders; processes → time slices; peripherals → drivers; users → accounts.
  • Clues in the question: printer, keyboard or webcam → peripheral management; password or log-in → user management; several programs at once → process management; folders or saving → file management.

Exam technique

  • Name the function first, then describe what it does, e.g. 'Peripheral management: the OS uses a driver to…'.
  • Use the scenario's details: the school network, the phone, the shared printer.
  • A 3-mark 'Describe' needs three separate points. An example only earns a mark if it adds something new.
  • Learn at least two tasks for each of the four functions.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade 3
    State the purpose of an operating systemIt manages the hardware and software, and provides a platform for applications and an interface for the user.
  2. Grade 3
    Name the four functions of an operating systemFile management, process management, peripheral management and user management.
  3. Grade 4
    Describe what file management doesIt organises files in folders, lets them be saved, named, moved and deleted, and controls who can access them.
  4. Grade 5
    Explain the role of a device driverIt translates the operating system's general commands into commands that one particular device understands.
  5. Grade 5
    Describe how user management protects a computerAccounts, passwords and access rights control who can log in and what each user is allowed to do.
  6. Grade 6
    Explain how multitasking works on one processorThe OS gives each process a short time slice in turn, switching so fast that they seem to run at the same time.
  7. Grade 7
    Apply the four functions to a scenarioWork out which function each part of a scenario needs, and describe it using the scenario's details.

Quick recall

Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.

State the purpose of an operating system.
To manage the computer’s hardware and software and let applications run.
Give the full path of the file homework.docx that belongs to form 10B.
S:\Students\10B\homework.docx
State the name of the type of user interface in which the user controls the computer by typing commands.
Command line interface (CLI)
Give the name of one operating system that is used on smartphones.
Android (or iOS)
Give two actions that a user can carry out on a file using the file management features of an operating system.
Any two from: create, rename, move, copy, delete, open, search
Complete the sentences using words from the box.
file   memory   peripheral   user
The operating system uses ........................ management to decide which part of RAM each running program can use. It uses ........................ management to keep track of the files and folders stored on the computer.
memory; file

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy3 marks
(a) Identify the function of an operating system that decides how much processor time each program is given.
[1]
  • File management
  • Process management
  • Peripheral management
  • User management
(b) Give two tasks carried out by an operating system as part of file management.
[2]
Show the answer and mark scheme
(a) Answer: Process management
(b) Answer: Any two from: organising folders; creating, renaming, moving and deleting files; tracking where files are stored; permissions.
  • organising files into folders / directories (a hierarchical structure)
  • allowing files to be created, named, renamed, copied, moved and deleted
  • keeping track of where each file is stored on secondary storage
  • controlling access to files using permissions, e.g. read-only
Question 2Medium4 marks
Explain how an operating system manages the different users of a shared school computer.
[4]
Show the answer and mark scheme
Answer: User accounts with passwords, access rights for each user, separate profiles and storage, managed by an administrator.
  • each user has an account with a username and password
  • users must log in (authenticate), so only authorised people can use the computer
  • access rights / permissions control which files, folders and programs each user can use, e.g. students cannot open staff folders
  • each user has their own storage area / profile with their own settings
  • an administrator can create and delete accounts, reset passwords and change permissions
  • the operating system can record when users log in and what they access
Question 3Hard4 marks
Explain how the file management features of an operating system can help to protect files on a shared network drive.
[4]
Show the answer and mark scheme
Answer: Permissions (read-only or no access), file locking during editing, and recoverable deletion protect shared files.
  • access rights / permissions can be set for each file or folder
  • e.g. some users can only read a file (read-only), so they cannot change or delete it
  • users can be prevented from seeing or opening folders that belong to other users
  • a file that is open can be locked, so two users cannot edit it at the same time and overwrite each other’s changes
  • deleted files can go to a recycle bin first, so they can be recovered if deleted by mistake
  • important system files can be hidden or protected so that users cannot damage them

More in Software

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.