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.

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.

Is each program system software or application software? Type system or application.
ProgramSystem 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

    Show the completed table
    ProgramSystem or application?
    A word processorapplication
    The operating systemsystem
    Anti-virus softwaresystem
    A web browserapplication
    A backup programsystem
    A computer gameapplication
    A program that squeezes files into a smaller zipped filesystem
    A spreadsheetapplication

    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.

    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

    Ben logs in to the laptop with his own account. Which of the operating system’s functions mainly stops him from opening Asha’s coursework folder?
    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?

    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.
    One CPU core sharing three programs

    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.

    1. 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.

    2. 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.

    3. Operating system

      Step 3 of 5: The browser has a turn

      The browser runs for a few milliseconds and draws part of the page.

    4. 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.

    5. 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

    A computer plays music while the user edits a document, and neither stutters. What makes this possible on a single core?
    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.

    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

    Why does a new printer need a device driver?
    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

    What does it mean to say that an operating system is a platform for applications?
    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.

    1. Say what is happening. The computer behaves differently depending on who logs in, and keeps each person’s files and settings apart.
    2. 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.
    3. 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.

    Which function of the operating system is at work? Type one of: files, interrupts, interface, peripherals, memory, multitasking, platform, security, accounts.
    SituationFunction
    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

      Show the completed table
      SituationFunction
      A pupil renames a document and moves it to another folderfiles
      A key is pressed while a game is running, and the game must react at onceinterrupts
      A phone shows rows of icons that can be tappedinterface
      A scanner works only after a small program for that scanner is installedperipherals
      Two open programs are given separate parts of RAM so that neither overwrites the othermemory
      Music, a browser and a document seem to run at once on one coremultitasking
      A new game asks the computer to draw a window and to save its progressplatform
      A computer refuses a login after the wrong password has been typed three timessecurity
      A teacher’s account can install programs, but a pupil’s account cannotaccounts

      Stage: Apply

      Is it the operating system’s job?

      Apply it

      Sam says: “Windows, Android and macOS are application software, because I choose which one to buy.” What is wrong with this?
      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

      A pupil plugs in a new game controller, but the game ignores it. The controller works on a friend’s computer. What is the most likely cause, and which function is involved?
      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

      A computer is running three programs. One of them crashes, but the other two carry on normally. Which function of the operating system helped to make this possible?
      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

      Leo says: “The operating system is just the screen with the icons and windows that I click on.” Which reply is best?
      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

      Which is a correct pairing of software with its group?
      Show the answer

      Answer: C. Anti-virus software: system software, as a utility that protects the computer.

      Utility software is system software.

      • 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.