Year 11 · Computer Science · Autumn 1

Software · Lesson 1 of 5

System and application software; the operating system

Theory4.1 Types of software and interrupts

Year 11 · Computer Science · Software · Lesson 1 of 5

You will learn to

  • State the difference between system software and application software, with two examples of each.
  • Describe the nine functions of an operating system, with one example each.
  • Describe what utility software and device drivers do.

Year 11 · Computer Science · Software · Lesson 1 of 5

Success criteria

You have got it when you can say:

  • I can sort a list of programs into system software and application software.
  • I can name at least six functions of an operating system and give an example of each.
  • I can explain what a device driver is for in one sentence.

Year 11 · Computer Science · Software · Lesson 1 of 5

Retrieval starter

Questions from before. Write your answers, then show them.

  1. Last year

    DECLARE Marks : ARRAY[1:30] OF INTEGER makes…

    A 30 stringsB 30 whole-number slots, numbered 1 to 30C One number

    B. 30 whole-number slots, numbered 1 to 30

  2. Last year

    An IDE provides…

    A An editor, a run button and a debuggerB The operating systemC Only the keyboard

    A. An editor, a run button and a debugger

  3. Last year

    Which is a low-level language?

    A JavaB Assembly languageC Python

    B. Assembly language

Year 11 · Computer Science · Software · Lesson 1 of 5

Key words (1 of 4)

System software
Software that runs and manages the computer, such as the operating system and utilities.
Application software
Software that does a task for the user, such as a word processor or game.
Operating system (OS)
System software that manages the hardware, files, memory and programs, and gives the user an interface.

Year 11 · Computer Science · Software · Lesson 1 of 5

Key words (2 of 4)

Device driver
A small program that lets the OS communicate with one particular device.
Multitasking
Running several programs by giving each a short turn on the processor, so they seem to run at once.
Firmware
Software stored permanently in ROM or flash memory on the hardware.
Bootloader
Firmware that loads the operating system into RAM when the computer is switched on.

Year 11 · Computer Science · Software · Lesson 1 of 5

Key words (3 of 4)

Interrupt
A signal to the processor that something needs its attention.
Interrupt service routine (ISR)
A small program that deals with one type of interrupt.
Compiler
A translator that turns the whole high-level program into machine code at once and creates an executable file.

Year 11 · Computer Science · Software · Lesson 1 of 5

Key words (4 of 4)

IDE
Integrated development environment: one program with the tools to write, translate, run and debug code.

The explanation · step 1 of 9 · part 1 of 3

Two kinds of software

Software is a set of instructions that tells the hardware what to do. There are two main kinds.

System software runs and looks after the computer itself. The user often does not notice it working.

Application software does a job the user wants done, such as writing an essay or editing a photo.

Application software needs system software underneath it. A word processor cannot run without an operating system.

The explanation · step 1 of 9 · part 2 of 3

Two kinds of software (continued)

System softwareApplication software
PurposeRuns and manages the computerDoes a task for the user
ExamplesOperating system, device drivers, utilities (anti-virus, backup, disk defragmenter), compilersWord processor, spreadsheet, web browser, video game, photo editor
Who it servesThe computer and the programs on itThe user
?Why?

System software hides the hard parts of the hardware. That means the people who write apps do not need to know how every printer or disk works.

The explanation · step 1 of 9 · part 3 of 3

Two kinds of software (continued)

!Watch out

A web browser is application software, even though it feels like part of the computer. Ask: does it do a task for the user? If yes, it is an application.

The explanation · step 2 of 9 · part 1 of 3

The operating system and its nine functions

The operating system (OS) is the most important piece of system software. Examples are Windows, macOS, Linux, Android and iOS.

It sits between the user, the applications and the hardware. It manages everything so that they all work together.

Cambridge lists nine functions. Learn all nine, with an example for each.

The explanation · step 2 of 9 · part 2 of 3

The operating system and its nine functions (continued)

OS functionWhat it means in plain wordsExample
Managing filesLets you create, name, save, open, copy, move and delete files and foldersSaving `essay.docx` into a folder called `English`
Handling interruptsResponds to signals that need the processor's attentionPausing a game when you press Esc
Providing an interfaceGives the user a way to talk to the computerIcons, windows and menus (GUI) or typed commands (CLI)
Managing peripherals and driversTalks to devices such as printers through driver softwareInstalling a driver so a new printer works
Managing memoryDecides which program uses which part of RAMKeeping a browser and a music app in separate areas of RAM
Managing multitaskingShares processor time so several programs seem to run at onceMusic plays while you type
Providing a platform for running applicationsGives apps a stable base and services they can useAn app asks the OS to save a file instead of controlling the disk itself
Providing system securityProtects the computer and its data from threatsBuilt-in firewall, security updates, login screen
Managing user accountsKeeps each user's files, settings and permissions separateA student account cannot install software; an admin account can

The explanation · step 2 of 9 · part 3 of 3

The operating system and its nine functions (continued)

!Watch out

In the exam, "manages files" alone may not get a mark. Add what it does, for example "lets the user rename and delete files".

The explanation · step 3 of 9 · part 1 of 4

Files, interface, peripherals and drivers

Managing files. The OS keeps track of where each file is stored on the disk. It organises files into folders and controls who can open them.

Providing an interface. A GUI (graphical user interface) uses windows, icons, menus and a pointer. A CLI (command line interface) uses typed commands. A GUI is easier to learn; a CLI is faster for experts.

The explanation · step 3 of 9 · part 2 of 4

Files, interface, peripherals and drivers (continued)

Peripherals are devices connected to the computer, such as a printer, keyboard or webcam. A device driver is a small program that translates between the OS and one particular device.

The OS also uses buffers and queues for slow devices. For example, it holds a print job in a queue until the printer is ready.

The explanation · step 3 of 9 · part 3 of 4

Files, interface, peripherals and drivers (continued)

e.g.Example
A teacher plugs a new printer into a classroom laptop. 1. The OS detects a new device. 2. It finds and installs the right driver. 3. When the teacher clicks Print, the OS sends the job to the print queue. 4. The driver turns the job into commands this printer understands.

The explanation · step 3 of 9 · part 4 of 4

Files, interface, peripherals and drivers (continued)

?Why?

Without drivers, the OS would need to know the details of every device ever made. Drivers mean a new device only needs one new small program.

The explanation · step 5 of 9 · part 1 of 2

Platform, security and user accounts

Providing a platform for running applications. Apps do not control hardware directly. They ask the OS to do things for them, such as "save this file" or "show this window".

This is why an app written for Android will not run on iOS. Each app is written for one platform.

Providing system security. The OS asks for a password or fingerprint at login. It installs security updates and can run a firewall and anti-malware.

The explanation · step 5 of 9 · part 2 of 2

Platform, security and user accounts (continued)

Managing user accounts. Each user has a username and password. The OS keeps their files and settings apart and gives each account its own access rights (what it is allowed to do).

e.g.Example
In a school network: A student account can open its own files and run approved software. A teacher account can also see shared class folders. An administrator account can install software and create new accounts.

The explanation · 5 more steps

More on the lesson page

The lesson page has the rest of the explanation, step by step:

  • Memory and multitasking
  • The layers: hardware, firmware, OS, applications
  • What an interrupt is and how it is generated
  • How the processor handles an interrupt
  • After the ISR: what happens next

Open the lesson page

Year 11 · Computer Science · Software · Lesson 1 of 5

Quick quiz · 1 of 3

Which of these is system software?

  1. A A game
  2. B A word processor
  3. C The operating system

C. The operating system

System software runs the computer. Applications do jobs for people.

Year 11 · Computer Science · Software · Lesson 1 of 5

Quick quiz · 2 of 3

The bootloader…

  1. A Translates Python
  2. B Loads the operating system from storage into RAM at start-up
  3. C Prints documents

B. Loads the operating system from storage into RAM at start-up

It lives in ROM and runs first when the power comes on.

Year 11 · Computer Science · Software · Lesson 1 of 5

Quick quiz · 3 of 3

An interrupt is…

  1. A A signal that makes the CPU pause and deal with something
  2. B A type of virus
  3. C A loop that never ends

A. A signal that makes the CPU pause and deal with something

A key press or a printer out of paper. The CPU saves its place, handles it, carries on.

Year 11 · Computer Science · Software · Lesson 1 of 5

Exit ticket

Answer on paper before you go. Then check.

  1. A compiler…

    A Only checks spellingB Translates one line at a time, every runC Translates the whole program once into machine code

    C. Translates the whole program once into machine code It produces an executable file. Errors are reported at the end.

  2. An interpreter stops…

    A Only after translating everythingB NeverC At the first error it meets

    C. At the first error it meets It translates and runs line by line, so it stops where the error is.