impera Open Impera

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?

  • Performs calculations and logical comparisons

  • Connects the device to Wi-Fi networks

  • Displays images and video on the screen

  • Stores files permanently when power is off

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:

  1. Fetch the next instruction from memory.
  2. Decode it to work out what to do.
  3. 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?

  • A network protocol for sending files between different computers

  • A type of app that helps users organize their tasks and time

  • A way of charging batteries in three separate stages each night

  • The repeated process by which the CPU carries out instructions

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?

  • Computers became slower every year as software grew

  • Transistors on a chip roughly doubled every two years

  • The size of the internet doubled every single day

  • Software would always be free for everyone to use

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.
Worked example

Evaluating a school's laptop programme

  1. Benefits: access to digital resources and skills for all students.
  2. Equity: provides devices to students who lack them at home.
  3. Environment: manufacturing and disposal of many devices; choosing repairable models and recycling reduces impact.
  4. Values: monitoring software on school laptops raises privacy questions.
Check yourself

What does the right to repair movement campaign for?

  • More advertising space on devices and their apps

  • Faster processors in every new generation of devices

  • Banning all repairs except by the original maker

  • Devices that users and independent shops can repair

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?

  • A social network popular in East Asia

  • Hijacked IoT devices used for large-scale attacks

  • A type of fast memory used in servers

  • A new smartphone launched by a Japanese company

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?

  • 8

  • 16

  • 2

  • 10

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.
Worked example

Doubling over time

  1. Start: 2,300 transistors in the Intel 4004 (1971).
  2. Doubling every two years for 50 years means about 25 doublings.
  3. $2300 \times 2^{25} \approx 77$ billion, close to the scale of today's largest chips.
  4. Point: exponential growth transformed computing.
Check yourself

What is a GPU designed to do?

  • Connect a computer to the internet through a cable

  • Process many calculations in parallel, such as graphics

  • Manage the computer's memory, files and security

  • Store files permanently when the computer is switched off

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