IB Diploma Digital Society · Content
Computers
1What a computer is
A computer is a machine that accepts input, processes data according to instructions, stores data and produces output. Computers range from supercomputers to laptops, smartphones and tiny embedded systems inside cars, washing machines and medical devices.
Key components:
- Central processing unit (CPU): carries out instructions. It contains the control unit (directs operations), the arithmetic logic unit (ALU) (performs calculations and comparisons) and registers (small, fast storage).
- Memory: RAM (random access memory) holds data and programs in use; it is volatile, losing its contents when power is off. ROM holds start-up instructions.
- Storage: hard drives and solid-state drives keep data permanently.
- Input and output devices: keyboards, touchscreens, microphones, sensors, screens, speakers and printers.
Check yourself
What does the ALU do?
Show the answer
Performs calculations and logical comparisons
Part of the CPU.
2The von Neumann architecture
Most computers follow the von Neumann architecture, described by John von Neumann in 1945: programs and data are stored together in the same memory, and the CPU repeatedly carries out the fetch–decode–execute cycle:
- Fetch the next instruction from memory.
- Decode it to work out what to do.
- Execute it, then repeat.
Data travels between the CPU and memory along buses. Because they share one path, the speed of this transfer can limit performance (the von Neumann bottleneck).
The von Neumann architecture (1945)
Check yourself
What is the fetch–decode–execute cycle?
Show the answer
The repeated process by which the CPU carries out instructions
Fetch, decode, execute, repeat.
3Hardware, software and operating systems
- Hardware: the physical parts.
- Software: programs. System software, especially the operating system (such as Windows, macOS, Linux, Android or iOS), manages hardware, memory, files and security. Application software performs tasks for users.
- Binary: computers represent all data as bits (0s and 1s). Eight bits make a byte.
- Moore's law: Gordon Moore observed in 1965 (revised in 1975) that the number of transistors on a chip roughly doubled every two years. This drove decades of rapid improvement, though progress has slowed as transistors approach physical limits.
Check yourself
What did Moore's law observe?
Show the answer
Transistors on a chip roughly doubled every two years
Gordon Moore.
4Computers in society
Computers have transformed work, communication and knowledge, raising issues:
- Accessibility: screen readers, voice control and adaptive devices help people with disabilities.
- Environmental impact: mining minerals such as cobalt and lithium, energy use and e-waste; the Global E-waste Monitor reported over 60 million tonnes of e-waste generated in 2022, with less than a quarter documented as properly recycled.
- Planned obsolescence: designing products to become outdated, encouraging replacement. The right to repair movement campaigns for repairable devices; the EU has adopted rules requiring repairability.
- Supply chains: advanced chips are concentrated in a few places, such as Taiwan.
Evaluating a school's laptop programme
- Benefits: access to digital resources and skills for all students.
- Equity: provides devices to students who lack them at home.
- Environment: manufacturing and disposal of many devices; choosing repairable models and recycling reduces impact.
- Values: monitoring software on school laptops raises privacy questions.
Check yourself
What does the right to repair movement campaign for?
Show the answer
Devices that users and independent shops can repair
Against planned obsolescence.
5Embedded systems and the Internet of Things
Embedded systems are computers built into other devices to perform specific tasks, such as car braking systems or pacemakers. Connected to networks, they form the Internet of Things (IoT): smart speakers, thermostats, doorbells and industrial sensors.
IoT brings convenience and efficiency but raises security and privacy risks: in 2016 the Mirai botnet hijacked poorly secured IoT devices, such as cameras, to launch massive attacks that disrupted major websites.
Check yourself
What was the Mirai botnet?
Show the answer
Hijacked IoT devices used for large-scale attacks
2016.
6Binary and data representation
Computers store all data as binary: 0s and 1s.
- A bit is a single 0 or 1; a byte is 8 bits.
- Text is stored using codes such as ASCII and Unicode, which covers characters from most writing systems and emoji.
- Images are stored as pixels with colour values; sound as samples.
Check yourself
How many bits are in a byte?
Show the answer
8
Standard unit.
7Moore's law and its limits
Moore's law is the observation, made by Gordon Moore in 1965 and revised in 1975, that the number of transistors on a chip doubles roughly every two years.
- It drove rapid growth in computing power.
- As transistors approach atomic sizes, progress has slowed.
- New approaches include multi-core processors, specialised chips for AI, and research into quantum computing.
Doubling over time
- Start: 2,300 transistors in the Intel 4004 (1971).
- Doubling every two years for 50 years means about 25 doublings.
- $2300 \times 2^{25} \approx 77$ billion, close to the scale of today's largest chips.
- Point: exponential growth transformed computing.
Check yourself
What is a GPU designed to do?
Show the answer
Process many calculations in parallel, such as graphics
Also used to train AI.
Now test yourself
This lesson has a 8-question quiz and 4 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera