CIE AS & A Level Computer Science, section 3.1 (Computers and their components)
The need for each type of component
- Input devices let data and instructions enter the computer.
- Output devices present the results to the user.
- Primary memory (RAM and ROM) holds the data and instructions the processor is currently using, and the processor can access it directly.
- Secondary storage holds data and programs permanently, even when the power is off, in much larger quantities than primary memory. It is not directly accessed by the processor.
- Removable storage (such as USB drives and external disks) lets data be carried or backed up.
How the main devices work
| Device | Principal operation |
|---|---|
| Laser printer | A laser changes the charge on a charged drum where the image should be; toner is attracted to those areas and is transferred to paper and fused with heat |
| 3D printer | Builds an object layer by layer, melting or hardening material (such as plastic) in the shape of each layer |
| Microphone | Sound waves move a diaphragm; the movement is converted to an electrical signal, then digitised |
| Speakers | An electrical signal moves a cone in and out, creating sound waves |
| Magnetic hard disk | Data is stored as magnetised patterns on spinning platters; read/write heads move across the surface |
| Solid state (flash) memory | Data is stored in electronic cells with no moving parts; fast and robust |
| Optical disc reader/writer | A laser reads or burns pits on a disc's surface, and light reflected from the pits and lands is read as data |
| Touchscreen | A screen that detects the position of a touch, for example through changes in electrical charge (capacitive) |
| Virtual reality headset | Screens and motion sensors show a 3D image that changes as the user's head moves |
Choosing between storage types
| Magnetic | Solid state | Optical | |
|---|---|---|---|
| Speed | slower | fastest | slowest |
| Robustness | moving parts, can be damaged | very robust | scratches easily |
| Cost per GB | low | higher | low |
| Typical use | large internal storage | laptops, phones, fast storage | distribution of films and software |
Common mistake: saying RAM is "secondary storage" or that it keeps data when the power is off. Also, solid state drives are not magnetic: they use electronic flash memory with no moving parts.
Exam tip: for "describe the operation" questions, describe the steps in order. For "justify a device", compare speed, capacity, cost, durability and portability for the situation.
Check yourself
Why does a computer need secondary storage as well as RAM?
RAM loses its contents when the power is off and has limited capacity; secondary storage keeps data permanently and holds much more.
Give one advantage of solid state storage over a magnetic hard disk.
It has no moving parts, so it is faster and more robust.
What does a microphone do?
It converts sound waves into an electrical signal.