- Input, output, memory and storage
Every computer system needs to take data in, work on it, hold it and give results out.
A computer system is built from four kinds of component, each with a clear job:
- Input devices let data and instructions enter the system for processing (keyboard, mouse, microphone, scanner, sensor).
- Output devices present the results of processing to the user (monitor, printer, speaker).
- Primary memory is reached directly by the processor and holds what is being used right now — this is RAM and ROM.
- Secondary storage keeps programs and data long-term, even when the power is off (magnetic hard disk, SSD, optical disc, USB flash drives). It is not accessed directly by the processor.
Why do we need both primary memory and secondary storage? RAM is fast but volatile (it forgets everything when switched off) and relatively small. Secondary storage is non-volatile and large, so it keeps your files permanently — but it is slower, so the processor cannot use it directly. Data is copied from secondary storage into RAM when needed.
Removable storage (USB pen drives, SD cards, external drives, optical discs) is secondary storage you can unplug and carry between machines — handy for backups and transferring files.
- Input → data IN; Output → results OUT.
- Primary memory (RAM + ROM) = directly accessed by the processor.
- Secondary storage = non-volatile, long-term, not directly accessed.
- Removable storage = portable secondary storage for backup/transfer.
See the full worked example for computers and their components →