1.5.1 Operating systems · Paper 1
Operating systems: running the computer
Each section has pictures and things to try, then its key points and key words. Exam practice is at the end of the page.
You need to know
- What an operating system is for
- What each function does: user interface, memory management and multitasking, peripheral management and drivers, user management, file management
You don't need to know
- Paging or segmentation
What an operating system does
The operating system (OS) manages the hardware and software, and lets the user control the computer. Examples: Windows, macOS, Android, iOS, Linux.
- You, the user
- Apps e.g. a web browser or game
- Operating system sits in the middle and manages everything
- Hardware CPU, memory, storage, devices
Its five main jobs each have their own section below.
Try it
Which job is the operating system doing?
- You save an essay as "History.docx" in your Documents folder
- Music keeps playing while you browse the web
- You plug in a new printer and it just works
- You log in and only see your own files
- You double-click an icon to open an app
Key points
What an operating system does
- The operating system (OS) is software that manages the computer's hardware and software.
- It lets users control the computer and lets programs use the hardware.
- Five main functions: user interface, memory management and multitasking, peripheral management and drivers, user management, file management.
- Examples: Windows, macOS, Linux, Android, iOS.
Key words
Say what each one means, then tap to check.
User interface
The user interface lets people control the computer and see what it is doing. There are different kinds:
Graphical (GUI)
- Looks like
- Windows, icons, menus and a pointer (WIMP)
- Good
- Easy to learn, no commands to remember
- Not so good
- Uses more memory and processing power
Command line
- Looks like
- Typed commands, e.g.
copy notes.txt backup - Good
- Fast for experts, uses few resources, can run scripts
- Not so good
- Hard to learn; you must remember commands
Touch and voice
- Looks like
- Tapping and swiping a screen, or speaking to a smart speaker
- Good
- Natural to use, hands-free with voice
- Not so good
- Voice can mishear; fiddly for detailed work
Try it
Practise an exam question. Choose a user interface, then two reasons that fit.
- Easy to learn: no commands to remember
- Fast for an expert who knows the commands
- Uses very little memory and processing power
- Can run scripts to repeat a job many times
- You can see the files and options as pictures
- A network technician setting up the same settings on 200 computers.
- A young child using a reading app.
- A receptionist booking appointments, with very little IT training.
- An old computer with very little RAM, used to run a web server.
Key points
User interfaces
Before this: What an operating system does
- The user interface is how the user interacts with the computer.
- Graphical (GUI): windows, icons, menus and a pointer. Easy for beginners.
- Command line: typing text commands. Fast and powerful for experts, uses few resources.
- Touch and voice interfaces are used on phones and smart speakers.
Key words
Say what each one means, then tap to check.
Memory management and multitasking
When you open a program, the OS copies it from storage into RAM and gives it its own space, so programs don't overwrite each other. When RAM is full it moves data to virtual memory, and frees the space when a program closes.
Multitasking: a CPU core can only run one instruction at a time. The OS switches between programs so fast that they all seem to run at once, deciding which one gets the CPU next.
Each program gets a tiny slice of CPU time in turn.
Key points
Memory management and multitasking
Before this: 1.2.1RAM and ROM1.2.1Virtual memory
- The OS allocates memory to each program, and frees it when the program closes.
- It stops programs overwriting each other's memory.
- It moves data between RAM and virtual memory when RAM is full.
- Multitasking: the OS switches the CPU between programs very quickly, so they seem to run at the same time.
Key words
Say what each one means, then tap to check.
Peripherals and drivers
Peripherals are devices connected to the computer: printers, keyboards, mice, webcams. The OS manages the data going to and from them, for example queuing documents for the printer.
A device driver is a small program that translates between the OS and one particular device. Every printer model works differently, so the OS uses the right driver for each one.
- You press Print in a word processor.
- The OS adds the document to the print queue and sends it on when the printer is free.
- The driver translates it into the exact instructions this printer model understands.
- The printer prints the page, and tells the OS if it runs out of paper.
Key points
Peripherals and drivers
Before this: What an operating system does
- Peripherals are devices connected to the computer, like printers, keyboards and webcams.
- The OS manages the data going to and from each device.
- A driver is software that tells the OS how to communicate with a specific device.
- When you plug in a new device, the OS may need to install its driver.
Key words
Say what each one means, then tap to check.
User management
- Creates user accounts, each with a username and password
- Checks logins, so only real users get in
- Sets access rights: which files and settings each user can use
- Can keep a log of who logged in and when
Try it
Pick a user on a school network. What can they get to?
Each user only gets the access they need. The network manager can install software, but doesn't need to see the test answers. Nobody can see other users' passwords: the manager can only reset them.
Key points
User management
Before this: 1.4.2User access levels
- The OS lets different people use the same computer with their own user accounts.
- Users log in with a username and password.
- Each account can have different access rights, e.g. only admins can install software.
- Each user gets their own files and settings.
- It can track logins and lock accounts after failed attempts, for security.
Key words
Say what each one means, then tap to check.
File management
The OS lets users name, save, open, move, copy and delete files, and organise them into folders (directories). It keeps track of where each file is stored on the disk, and who is allowed to open it.
- Documents
- School
- History essay.docx
- Maths notes.pdf
- Holiday.jpg
- School
Key points
File management
Before this: What an operating system does
- The OS lets users and programs organise and look after files.
- It lets you name, save, open, move, copy, delete and search for files.
- Files are organised into folders (directories) in a hierarchy.
- It can control who can open or edit each file.
Key words
Say what each one means, then tap to check.
Exam practice
12 questions in the style of the OCR exam, 30 marks in total. Try each one, then check the mark scheme.
What an operating system does
Hint
Which software starts when your laptop or phone turns on, before any apps?
Give means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- Windows / macOS / Linux / Android / iOS.
Don't accept: Microsoft Word, Chrome or any other app. These run on top of the OS.
Hint
This page has a section for each function.
State means give a short, clear answer. You don't need to explain it.
3 marks: make 3 separate points.
Show mark scheme
- User interface.
- Memory management / multitasking.
- Peripheral management / drivers.
- User management.
- File management.
Don't accept: Utility jobs, e.g. defragmenting or virus scanning. These are done by utility software.
1 mark each, max 3
User interface
Hint
Who finds typed commands easy, and who finds them hard?
Give means give a short, clear answer. You don't need to explain it.
2 marks: make 2 separate points.
Show mark scheme
- Advantage: fast for experts / uses fewer resources / more control.
- Disadvantage: hard to learn / need to remember commands.
1 mark for the advantage, 1 mark for the disadvantage.
Hint
G is for graphical.
State means give a short, clear answer. You don't need to explain it.
1 mark: one answer is enough.
Show mark scheme
- Graphical user interface.
Memory management and multitasking
Hint
Think about RAM: where each program goes and how they are kept apart. Then think about how the CPU is shared.
Explain means say what happens and why. Words like “because” and “so” help.
3 marks: aim for 3 things said, such as a point and then the reason for it.
Show mark scheme
- Each program is allocated its own area of memory.
- Programs are stopped from using each other's memory.
- The CPU switches quickly between programs.
- Virtual memory is used if RAM is full.
Don't accept: "It has lots of RAM". The question asks what the operating system does.
1 mark each, max 3
Peripherals and drivers
Hint
Every printer model works differently. How does the OS know how to talk to this one?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- The driver lets the OS communicate with that printer…
- …translating OS instructions into commands the printer understands.
1 mark for each point.
User management
Hint
Think about what happens when you log in at school, and what you can and can't see.
Describe means say what it is like or what happens. Make each point a separate fact.
2 marks: make 2 separate points.
Show mark scheme
- Creating user accounts with login details.
- Setting access rights / permissions.
- Keeping each user's files separate.
- Monitoring / logging logins.
1 mark each, max 2
File management
Hint
Think of everything you can do to a file in a folder window.
Give means give a short, clear answer. You don't need to explain it.
3 marks: make 3 separate points.
Show mark scheme
- Naming / renaming files.
- Saving / opening files.
- Moving / copying files.
- Deleting files.
- Organising into folders.
- Setting file permissions.
Don't accept: "Storing files" on its own. Say what the OS does, e.g. saves, moves or deletes them.
1 mark each, max 3
Mixed questions on the whole page
- A user drags a file into a new folder.
- A teacher logs in and sees only their own files.
- A user clicks an icon to open an app.
- A document waits in the queue until the printer is free.
Hint
Match each one to a section of this page.
State means give a short, clear answer. You don't need to explain it.
4 marks: make 4 separate points.
Show mark scheme
- a) File management
- b) User management
- c) User interface
- d) Peripheral management
Don't accept: d) "Memory management". The printer is a peripheral, so this is peripheral management.
1 mark for each.
Hint
If two programs used the same part of RAM, what would one do to the other's data?
Explain means say what happens and why. Words like “because” and “so” help.
2 marks: aim for 2 things said, such as a point and then the reason for it.
Show mark scheme
- One program could overwrite another program's data or instructions in RAM…
- …so that program could crash / give wrong results / lose data.
1 mark for each point.
Hint
What does a beginner need? Is it easier to click a picture or to remember a command?
Compare means say how the two things are similar or different. Mention both of them in each point.
4 marks: each point should mention both things.
Show mark scheme
- A GUI is easier to learn / uses icons and menus, so there are no commands to remember.
- A command line needs commands to be remembered and typed exactly.
- A GUI uses more memory / processing power.
- A command line is faster for experts / can run scripts.
- A GUI is more suitable for a beginner.
Don't accept: "A GUI is better" with no reason.
Don't accept: Only describing one interface. Compare needs points about both.
Example answer
A GUI uses windows, icons and menus, so a beginner can point and click without remembering any commands. A command line needs commands to be typed exactly, which is hard to learn, although it is faster for experts and uses less memory. So a GUI is better for someone new to computers.
Max 4. Mention both interfaces.
Hint
Think about logging in, keeping files private, and who should be allowed to install things.
Explain means say what happens and why. Words like “because” and “so” help.
3 marks: aim for 3 things said, such as a point and then the reason for it.
Show mark scheme
- Each person has their own account, with a username and password…
- …so they each have their own files and settings / others can't see their files.
- Access rights can stop children installing software or changing settings.
- Logins can be monitored / accounts locked after failed attempts.
Also accept: Parental controls, e.g. time limits or blocked apps on a child's account.
Don't accept: "It stops viruses". That is anti-malware, not user management.
1 mark for each point, up to 3.