Study Guide
System Software and Operating Systems
The difference between system software and application software, and the nine jobs an operating system does for a computer: managing files, interrupts, the user interface, peripherals and drivers, memory, multitasking, a platform for applications, security and user accounts.
Lesson 3.8 Computer Systems
For: Cambridge IGCSE Computer Science learners
Stage: Think
A brand-new laptop
A school (a made-up one) buys thirty new laptops. A pupil opens one, presses the power button, and wants to type an essay, save it and print it.
Think it through
Before the essay can be typed, saved and printed, a lot of jobs have to be done that have nothing to do with the words in it. Name three of them.
- Hint 1: Think about the keys that are pressed, the place where the file goes, and the several programs sharing one CPU and one RAM.
Show a model answer
For example: showing something on the screen and reading the keyboard; storing the file somewhere it can be found again; sending the pages to the printer; sharing the CPU and RAM between the programs that are open; and keeping other people out of the pupil’s work. Someone has to do all of these, and the word-processing program does not do them itself.
Software divides into two groups by who it is serving.
Application software provides the services the user requires: it lets a person do something they want to do, such as write, calculate, browse the web, edit a photograph or play a game.
System software provides the services the computer itself requires: it runs the hardware and looks after the computer so that applications can work. There are two kinds. The operating system is the main one, and is the subject of most of this lesson. Utility software is system software for looking after the computer: examples are anti-virus software, backup software, file compression software and disk-formatting tools.
| Program | System or application? |
|---|---|
| A word processor | |
| The operating system | |
| Anti-virus software | |
| A web browser | |
| A backup program | |
| A computer game | |
| A program that squeezes files into a smaller zipped file | |
| A spreadsheet |
- Application: the user wants it for a task. System: the computer needs it to run or to be looked after, and that includes utilities.
Show the completed table
| Program | System or application? |
|---|---|
| A word processor | application |
| The operating system | system |
| Anti-virus software | system |
| A web browser | application |
| A backup program | system |
| A computer game | application |
| A program that squeezes files into a smaller zipped file | system |
| A spreadsheet | application |
A program being one the user chooses to install does not make it application software. What decides the group is the job it does. Anti-virus software is chosen and installed by the user, but its job is to protect the computer, so it is a utility and therefore system software.
Stage: Predict
Looking after the pupils’ work
All thirty laptops are shared by classes. Asha saves her coursework on one on Monday. On Thursday a different laptop from the same trolley is in her hands, and Ben, who sits next to her, also uses it.
Think it through
What would have to be arranged so that Asha can find her coursework next week, but Ben cannot open or delete it? Describe two things the computer must do.
- Hint 1: How could the computer remember where on the drive each file is?
- Hint 2: How could it tell Asha from Ben?
Show what happens
It must keep track of every file: its name, where on the drive it is stored, and which folder it is in. And it must tell users apart, for example with a username and password, and then only allow each user to see what they are allowed to see.
The operating system does these three jobs.
- Managing files. The operating system keeps a record of every file and folder, and where on the secondary storage each is stored. It lets the user create, name, open, copy, move, rename and delete files, and lets programs do the same.
- Managing user accounts. Each user has an account, with a username and password. The account holds that user’s own files and settings, and decides what the user is allowed to do. A standard account can use programs and open its own files, while an administrator account can also install software and change settings for everyone.
- Providing system security. The operating system controls who can use the computer (by asking for a login) and what each user can access (through access rights on files and folders). It also works with firewalls and anti-malware to block unauthorised access, and installs updates that repair weaknesses.
Check your understanding
Show the answer
Answer: C. Managing user accounts and security, because his login limits what he can open.
Accounts say who the user is; security says what they may do.
Stage: Predict
Sharing one CPU and one RAM
A pupil has a music player, a web browser and a word processor open at once. The computer has one CPU core and one RAM.
Think it through
Suppose each program simply used whichever part of RAM it liked, and ran for as long as it liked. What could go wrong? What would the computer need instead?
- Hint 1: Imagine two programs both writing to the same part of RAM.
- Hint 2: Imagine the music player never letting go of the CPU.
Show what happens
Programs could overwrite each other’s data in RAM, which would corrupt them or crash the computer. And one program could hold on to the CPU, so that the others froze. The computer needs a manager that decides which part of RAM and which turn on the CPU each program gets.
The operating system is that manager. Three of its functions are about sharing the machine.
- Managing memory. The operating system decides which part of RAM each program uses, loads programs and data into RAM and removes them when they are finished, and keeps each program out of the others’ space. When RAM is full it uses virtual memory, moving pages to and from secondary storage, as in Lesson 6.
- Managing multitasking. Multitasking means running several programs at the same time. On a CPU core that can only carry out one program’s instructions at a time, the operating system gives each program a very short turn, and then switches to the next, so quickly that they all seem to run together. A computer with several cores can really run several at once, and the operating system shares the programs out between them.
- Handling interrupts. A device or program sometimes needs the CPU’s attention at once, for example when a key is pressed. It sends an interrupt signal, and the operating system makes sure the right program deals with it. The next lesson explains how.
Each turn is a few milliseconds long, an invented figure to show the idea. The pupil sees no gaps, because the turns are so short.
Operating system
Step 1 of 5: The music player has a turn
The music player runs on the CPU for a few milliseconds and prepares the next piece of sound.
Operating system
Step 2 of 5: The turn ends and the next begins
The operating system saves where the music player had got to, and gives the CPU to the web browser.
Operating system
Step 3 of 5: The browser has a turn
The browser runs for a few milliseconds and draws part of the page.
Operating system
Step 4 of 5: The word processor has a turn
The operating system saves the browser’s place, and the word processor handles a key the pupil has just typed.
Operating system
Step 5 of 5: Round again
The operating system returns to the music player, which carries on from exactly where it stopped. This repeats many times a second.
On a computer with one core, multitasking does not mean that the programs are all running at the same instant. It is the fast switching that makes them seem to be. Only a computer with several cores can run more than one program at exactly the same time.
Check your understanding
Show the answer
Answer: A. The operating system switches the CPU between the programs in very short turns.
Multitasking is fast switching between programs.
Stage: Discover
Talking to people and to devices
The pupil plugs in a printer that the school has never used before. After a short wait, the word processor can print to it. The word processor was written years before this printer was made.
Think it through
The word processor knows nothing about this particular printer. How could it still print to it? What must be in between?
- Hint 1: Think about a translator, between two people who do not share a language.
Show what happens
Something in the middle must translate the word processor’s general request, “print this page”, into the particular instructions that this printer understands. The word processor asks the operating system, and a small program for the printer does the translating.
Three more functions look after the people and the programs that use the computer.
- Managing peripherals and drivers. A peripheral is a device connected to the computer and used with it, such as a keyboard, a mouse or a printer. The operating system sends data to and receives it from each peripheral. Because every make and model understands different commands, each needs a device driver: a small program that translates the operating system’s general commands into the commands that one device understands. Without its driver, a device may not work.
- Providing a user interface. The user interface is how a person gives the computer commands and sees the results. The operating system provides it: for example windows, icons, menus and a pointer (a graphical interface), touch controls on a phone, or typed commands. Providing it means every application has the same familiar controls.
- Providing a platform for running applications. The operating system loads an application into RAM and runs it. Instead of controlling the hardware itself, the application asks the operating system for what it needs (to save a file, show a window or print). Applications are therefore written for an operating system, not for every make of hardware, and an application written for one operating system will not run on another unless it has been made for that one too.
Check your understanding
Show the answer
Answer: C. The driver translates the operating system’s general commands into ones this printer understands.
A driver translates between the operating system and one device.
Check your understanding
Show the answer
Answer: B. Applications run on it and ask it for services such as saving a file, not controlling the hardware.
Applications run on the operating system.
Stage: Explain
Which function is at work?
All nine functions have now been met. Each can be recognised by what the situation needs, rather than by remembering a list. First see the reasoning for one.
A pupil logs out of a laptop, and the next pupil who logs in finds their own desktop, their own files and their own settings, with none of the first pupil’s work in view.
- Say what is happening. The computer behaves differently depending on who logs in, and keeps each person’s files and settings apart.
- Ask what is needed to do that. The computer must know who is using it, and keep a separate set of files and settings for each person.
- Match it to a function. A separate identity with its own files and settings is an account, so this is managing user accounts. (Keeping the first pupil’s work from the second also needs security, but the main job in this situation is the separate accounts.)
When two functions seem to fit, choose the one that explains the main thing that is happening.
| Situation | Function |
|---|---|
| A pupil renames a document and moves it to another folder | |
| A key is pressed while a game is running, and the game must react at once | |
| A phone shows rows of icons that can be tapped | |
| A scanner works only after a small program for that scanner is installed | |
| Two open programs are given separate parts of RAM so that neither overwrites the other | |
| Music, a browser and a document seem to run at once on one core | |
| A new game asks the computer to draw a window and to save its progress | |
| A computer refuses a login after the wrong password has been typed three times | |
| A teacher’s account can install programs, but a pupil’s account cannot |
- Ask first what the computer is having to do, and then which function does it.
Show the completed table
| Situation | Function |
|---|---|
| A pupil renames a document and moves it to another folder | files |
| A key is pressed while a game is running, and the game must react at once | interrupts |
| A phone shows rows of icons that can be tapped | interface |
| A scanner works only after a small program for that scanner is installed | peripherals |
| Two open programs are given separate parts of RAM so that neither overwrites the other | memory |
| Music, a browser and a document seem to run at once on one core | multitasking |
| A new game asks the computer to draw a window and to save its progress | platform |
| A computer refuses a login after the wrong password has been typed three times | security |
| A teacher’s account can install programs, but a pupil’s account cannot | accounts |
Stage: Apply
Is it the operating system’s job?
Apply it
Show the answer
Answer: A. They are system software: their job is to run the computer and provide a platform for applications.
The group depends on the job, not on who picks it.
Apply it
Show the answer
Answer: D. The controller’s driver is missing or out of date, so the operating system cannot talk to it.
A device that is ignored is often missing its driver.
Apply it
Show the answer
Answer: B. Managing memory, because each program is kept to its own part of RAM.
Separate parts of RAM keep one program’s failure from spreading.
Apply it
Show the answer
Answer: B. The interface is one of nine functions; most of the work, such as managing memory and files, is not visible.
The interface is one of nine functions.
Stage: Consolidate
Show what you know
Think it through
A friend says: “I don’t see why I need an operating system, since I only ever use my word processor.” Explain, using three functions of the operating system, what would stop working without it.
Show a model answer
A good answer names three functions and what would go wrong. For example: “Your word processor does not look after the files: the operating system keeps track of where your essay is stored on the drive, so without it you could not save and find it again. The operating system also shares the CPU and RAM between the word processor and everything else that is open, so without it they could overwrite each other. And it uses the printer’s driver, so without it the word processor could not print. The word processor is an application that runs on the operating system, not instead of it.”
Check your understanding
Show the answer
Answer: C. Anti-virus software: system software, as a utility that protects the computer.
- Application software provides the services the user requires. System software provides the services the computer requires: the operating system and utility software (such as anti-virus, backup and compression).
- The operating system does nine jobs: it manages files, user accounts, security, memory and multitasking; it handles interrupts; it manages peripherals through device drivers; it provides the user interface; and it is the platform that applications run on.
- Multitasking is the CPU being switched between programs so quickly that they seem to run together (really together only with several cores).
- A driver translates between the operating system and one particular device.
- To identify a function, ask what the situation needs the computer to do, and which function does it.
Sources and scope
- What this lesson is. The eighth lesson of the Computer Systems module, written for this site. It teaches Cambridge IGCSE Computer Science (0478) points 4.1.1 and 4.1.2 (2026 to 2028, version 6): system and application software, and the functions of an operating system. Points 4.1.3 and 4.1.4 are in the next lesson. Its curriculum links are provisional and imply no endorsement by any examination board. It has not been approved by the site owner.
- Original material. The school with thirty laptops, Asha, Ben, Sam, Leo and the examples of programs and turns are fictional and were written for this lesson.
- Simplified on purpose. The turns in the multitasking example are invented and far longer than real ones, and real operating systems use rules to decide whose turn is next. Memory management is described only as sharing RAM and using virtual memory. Security is described as logins, access rights, firewalls, anti-malware and updates; the other security measures of the course are in the networks module. Interrupts are named here and taught in the next lesson.
Software that scans for malware, blocks it and removes it; anti-virus and anti-spyware are kinds of it.
Software that provides the services the user requires, such as a word processor, a web browser or a game.
The part of a computer that carries out instructions: it fetches each instruction from memory, decodes it and executes it, processing data so that a result can be output.
A small program that lets the operating system communicate with one particular device, such as a printer.
Software or hardware that checks the data entering and leaving a network or device against rules, and blocks what the rules do not allow.
A signal sent to the CPU to say that something needs attention now, so that it pauses its current program to deal with it.
Running several programs at the same time, in effect, by switching the CPU between them very quickly.
The system software that manages a computer’s hardware, files, memory and security, and provides the platform on which applications run.
A device connected to a computer and used with it, such as a keyboard, a mouse or a printer.
The computer’s main working memory: it holds the programs and data in use, and can be both read and changed, but loses its contents when the power is switched off.
Storage that the CPU cannot access directly, used to keep programs and data permanently, such as a hard disk drive or a solid-state drive.
Software that provides the services the computer itself requires, such as the operating system and utility software.
The part of a system that lets a person give it commands and see its results, such as windows and icons or typed commands.
System software that carries out a maintenance or protection task for the computer, such as anti-virus software, backup or file compression.
Space on secondary storage that the operating system uses as an extension of RAM, moving pages of data between the two as they are needed.
Software that requests web pages, then renders their HTML and displays them to the user.
Your progress on this lesson
Saved in this browser only. It is not sent anywhere, does not follow you to another device, and is lost if you clear this site’s data.
This browser is not allowing the site to save progress, so it will be forgotten when you leave the page.