AQA 7517, section 4.6.1.1
Hardware
Hardware is the physical components of a computer system: the parts you can touch.
- Inside the computer: the processor (CPU), main memory (RAM), motherboard, graphics card, and power supply.
- Storage: a hard disk, solid-state drive, or optical disk.
- Input devices: keyboard, mouse, microphone, scanner.
- Output devices: monitor, printer, speakers.
Software
Software is the programs and data that tell the hardware what to do. It is a set of instructions (and the data they use) stored as binary. You can't touch it.
- The operating system (Windows, macOS, Linux).
- Applications such as a web browser, a word processor or a game.
- Utilities such as antivirus programs.
How they relate
Hardware and software depend on each other.
- Hardware without software is useless. A computer with no program has nothing to tell the processor what to do. It is like a piano with nobody to play it.
- Software without hardware can't run. Instructions are only a set of bits until a processor executes them, and memory is needed to hold them.
Each layer uses the services of the layer below it. Applications ask the operating system to do things, and the operating system controls the hardware. The user doesn't need to know about the details of the hardware.
The same hardware, different software
The same hardware can do very different jobs by running different software. A laptop can be a word processor, a games machine or a music player, depending on the programs it runs. This is what makes computers general-purpose, and it follows from the stored program concept (4.7.2.1): the program is data held in memory, and can be replaced.
Firmware
Firmware is software stored in permanent memory on a hardware device, so it is there when the device starts. For example, the program that starts a computer when you press the power button, and the software inside a washing machine or a router. It's a link between hardware and software.
| Hardware | Software | |
|---|---|---|
| Nature | Physical | Instructions and data |
| Can you touch it? | Yes | No |
| Examples | CPU, RAM, keyboard | Windows, Chrome, a game |
| Can it be copied electronically? | No | Yes |
| Changed by | Replacing parts | Updating or installing programs |
Worked example
Task: a student says "my computer is broken: it won't open my essay". Decide whether the problem is likely to be hardware or software in each case.
- The screen is blank and nothing lights up when the power button is pressed: probably hardware (power supply or display).
- The computer starts, but the word processor crashes when the file is opened: probably software (a bug or a corrupted file).
- The file can't be found because the hard disk is making a clicking noise: probably hardware (a failing drive).
Exam tip: give a definition and an example of each, and explain the relationship: hardware is the physical parts, software is the programs, and neither is useful without the other.
Check yourself
Define hardware and software
Hardware is the physical components of a computer system. Software is the programs (and data) that run on the hardware and tell it what to do.
Why can't software run without hardware?
Programs are only data until a processor executes them, and memory is needed to store them, so the hardware is required.
Give two examples of each: hardware and software
Hardware: any two of keyboard, CPU, monitor, hard disk, RAM. Software: any two of an operating system, a web browser, a word processor, a game, an antivirus program.