EEasy IGCSELabTracker

On a phone the notes, quizzes and tracker work fine. The 3D models and the practice lab are made for a laptop.

Specification points 4.1.1–4.1.4 ·

system and application software, the operating system, how hardware, firmware and the OS run applications, and interrupts.

1System software and application software (4.1.1)

Definition

System software — software that provides the services the computer requires, including the operating system and utility software.

Application software — software that provides the services the user requires, i.e. it lets the user carry out a task.

System software Application software
Purpose runs and manages the hardware; gives other software a platform to run on does a job the user wants done
Examples operating system (Windows, macOS, Android); utility software — anti‑virus, defragmentation, back‑up, file compression; device drivers; compilers word processor, spreadsheet, database, web browser, photo or video editor, game

Utility software is system software that carries out one specific task to maintain or look after the computer.

2The operating system (4.1.2)

Definition

Operating system (OS) — system software that manages the computer's hardware and software, provides a platform on which applications run, and provides an interface between the user and the computer.

Its basic functions:

  • Managing files — creates, opens, saves, copies, moves, renames and deletes files; organises them into folders; controls who may access each file.
  • Handling interrupts — receives interrupt signals and makes sure each is serviced in order of priority (section 4).
  • Providing an interface — lets the user communicate with the computer, e.g. a graphical user interface (GUI: windows, icons, menus, pointer) or a command line interface (CLI: typed commands).
  • Managing peripherals and drivers — communicates with input and output devices through device drivers (software that translates data into a form a particular device understands); loads the right driver when a device is connected; manages queues and buffers, e.g. a print queue.
  • Managing memory — allocates RAM to each program and frees it when the program ends; moves data between RAM and secondary storage; stops two programs using the same memory locations.
  • Managing multitasking — lets several programs (processes) run at the same time by sharing the CPU and other resources between them, switching rapidly according to priority.
  • Providing a platform for running applications — loads applications into memory and lets them use the hardware (e.g. save a file, print) through the OS, so an application never controls hardware directly.
  • Providing system security — requires a user ID and password to log on, enforces access rights, works with the firewall and anti-virus software, and installs security updates.
  • Managing user accounts — gives each user an account with their own username, password, files and settings; an administrator can create, delete and restrict accounts.

3Hardware, firmware and the operating system (4.1.3)

Definition

Firmware — a program stored in ROM that provides low-level control of the hardware. The bootloader is firmware: when the computer is switched on it loads the operating system into RAM.

START-UP ORDER LAYERS Application software e.g. word processor, web browser Operating system kept in secondary storage Firmware — bootloader stored in ROM Hardware CPU, RAM, ROM, storage, I/O devices runs on the OS runs on the firmware runs on the hardware 1 Switch on: the bootloader runs on the hardware 2 The bootloader loads the OS into RAM and starts it 3 The user runs an application; it uses hardware via the OS
Figure 1. Each layer runs on the one below it. The start-up order (1–3) builds the stack from the bottom.

All three are needed because RAM is volatile: at switch-on it holds no OS. The bootloader is permanently stored in ROM, so it is always available to load the OS from secondary storage into RAM. Only once the OS is running can an application be run, and the application reaches the hardware only through the OS.

4Interrupts (4.1.4)

Definition

Interrupt — a signal sent from a hardware device or from software to the processor, requesting its attention; it makes the processor temporarily stop its current task so the interrupt can be serviced.

Interrupt service routine (ISR) — the program that handles one particular type of interrupt.

Role. Interrupts let the processor respond at once to events that need attention, without constantly checking every device and program. It gets on with other work until something needs it, which makes multitasking possible (e.g. a printer interrupts only when it is ready for more data).

How an interrupt is handled:

Processor runs the current task (fetch–decode–execute cycles) Interrupt signal received? Yes Higher priority than the current task? No No Yes 1 Save the current task's state contents of the registers, including the PC 2 Run the ISR for this interrupt the interrupt is serviced 3 Restore the saved register contents the interrupted task carries on
Figure 2. The processor checks for interrupts at the end of each fetch–decode–execute cycle (→ 3.1). An interrupt of lower priority than the current task waits until it can be serviced.

Raise an interrupt

Loading the interactive…

Interrupt generated by Type Result of servicing it
a key pressed on the keyboard hardware the ISR reads which key was pressed; the character appears on screen
the mouse moved hardware the ISR reads the movement; the pointer moves on screen
division by zero software an error message is output; the program may be stopped
two processes trying to access the same memory location software one process is stopped or made to wait, so data is not corrupted
Traps
  • An interrupt pauses the current task; it does not end it (unless it reports a fatal error).
  • Utility software and device drivers are system software, not application software.
  • The bootloader is not the OS. The OS is stored in secondary storage and loaded into RAM by the bootloader.

Quick check

12 multiple-choice questions. Pick an answer to see whether it is right and why.

  1. Which of these is application software?

  2. Which of these is utility software?

  3. Which function of the operating system stops two programs using the same memory locations?

  4. What is a device driver?

  5. How does an application use the hardware, for example to print?

  6. Where are the bootloader and the operating system kept while the computer is switched off?

  7. A computer is switched on and the bootloader runs. What happens next?

  8. Why are interrupts used?

  9. When does the processor check for interrupts?

  10. An interrupt arrives with a lower priority than the current task. What happens?

  11. An interrupt arrives with a higher priority than the current task. What does the processor do first?

  12. What happens when the ISR has finished running?

Exam-style questions

Write your answer, then show the answer and compare. Nothing here is marked for you: you decide how close you were. What you write is saved in this browser.

Questions

1

Describe the difference between system software and application software.

2 marks
2

Tick whether each is system or application software: anti-virus, spreadsheet, printer driver, web browser, defragmentation software, operating system.

6 marks
3

Give two examples of utility software.

2 marks
4

Describe three basic functions of an operating system.

6 marks
5

Explain how the operating system allows several programs to be open at the same time.

3 marks
6

A user plugs a new printer into a computer. Describe the role of the operating system in making the printer work.

2 marks
7

Explain why an application cannot run on a computer that has hardware and an operating system stored on its SSD, but no firmware.

3 marks
8

State what is meant by an interrupt.

2 marks
9

Give one example of a hardware interrupt and one example of a software interrupt.

2 marks
10

Describe how the processor handles an interrupt.

5 marks
11

A program attempts to divide a number by zero. Describe what happens.

3 marks
12

Explain why interrupts allow a computer to print a long document while the user carries on typing.

3 marks

How well do you know this?

Rate each specification point. It is saved to your tracker as a new revision round.

All points:
  • 4.1.1Describe the difference between system software and application software and provide examples of each
  • 4.1.2Describe the role and basic functions of an operating system
  • 4.1.3Understand how hardware, firmware and an operating system are required to run applications software
  • 4.1.4Describe the role and operation of interrupts

Settings

Your subjects

Untick the subjects you don't take. They leave the menu, the home page and the tracker. Your ratings are kept, so you can bring a subject back at any time.

Page style

Colours