Skip to main content

O Level ยท Computer Science

Hardware: O Level Computer Science

How a computer is built: the CPU and the fetch-decode-execute cycle, embedded systems, input and output devices and sensors, primary, secondary and cloud storage, and the hardware that connects a computer to a network.

  • Lesson
  • 8 quizzes
  • Worksheet PDF

A step-by-step lesson, 8 self-marking quizzes and a printable worksheet, all on Hardware for O Level.

Hardware: the short answer

Every computer, from a laptop to the controller in a lift, follows the same pattern: data goes in, it is processed, and results come out. The part that does the processing is the CPU, the central processing unit.

Learn it: the lesson

Hardware: The CPU, Input and Output, Storage and Networks8 steps ยท one idea at a time ยท quick check at the endStart the lesson โ†’
What the lesson covers8 steps ยท tap to see
  1. 1What the CPU does

    Every computer, from a laptop to the controller in a lift, follows the same pattern: data goes in, it is processed, and results come out.

    Learn this in the lesson โ†’
  2. 2Inside a Von Neumann CPU

    Nearly every computer today follows the Von Neumann architecture.

    Learn this in the lesson โ†’
  3. 3Three buses

    The CPU and memory are joined by buses: sets of parallel wires that carry signals between components.

    Learn this in the lesson โ†’
  4. 4The fetch-decode-execute cycle, step by step

    A CPU runs a program by repeating the fetch-decode-execute cycle over and over.

    Learn this in the lesson โ†’
  5. 5Cores, cache and clock

    Three features of a CPU decide how fast it can work: the number of cores, the size of the cache and the speed of the clock.

    Learn this in the lesson โ†’
  6. 6Instruction sets and machine code

    A CPU can only do a fixed list of simple things: load a number, add, subtract, compare, store, jump to another instruction.

    Learn this in the lesson โ†’
  7. 7Embedded systems

    Most microprocessors in the world are not in computers at all.

    Learn this in the lesson โ†’
  8. 8Common mistakes about the CPU

    "The MDR holds the address." No.

    Learn this in the lesson โ†’
  9. Quick check: see what you remember

Hardware: O Level Computer Science notes

What the CPU does

Every computer, from a laptop to the controller in a lift, follows the same pattern: data goes in, it is processed, and results come out. The part that does the processing is the CPU, the central processing unit.

The CPU processes the instructions and data that are input into the computer so that the result can be output. It does this by carrying out a program: a list of instructions held in memory. It takes one instruction at a time, works out what it means and carries it out, then moves on to the next, billions of times every second.

Early CPUs filled whole cabinets. Today the entire CPU is built on one small piece of silicon: a microprocessor. A microprocessor is a type of integrated circuit on a single chip. It contains millions or billions of tiny transistors connected to make the CPUโ€™s units and registers.

Microprocessors are not only in computers. Any device that needs to make decisions from inputs, such as a microwave oven, a fitness band or a robot vacuum cleaner, has one inside it.

Key facts

  • The part that does the processing is the CPU, the central processing unit.
  • Today the entire CPU is built on one small piece of silicon: a microprocessor.
  • Nearly every computer today follows the Von Neumann architecture.
  • It also has registers: tiny, very fast stores, each holding one value with one job.
  • A CPU runs a program by repeating the fetch-decode-execute cycle over and over.
  • The clock sends out a steady stream of pulses.

Hardware MCQs with answers

Tap an answer to check it.

  1. The CPU stands for:

    Answer: C. Central Processing Unit CPU stands for Central Processing Unit, the part that carries out the instructions of a program.

  2. The three stages of the instruction cycle are:

    Answer: A. Fetch, decode, execute The CPU repeats fetch, decode, execute: it gets an instruction from memory, works out what it means, and carries it out.

  3. What is a microprocessor?

    Answer: B. An integrated circuit that holds a CPU on one chip A microprocessor is a CPU built into one integrated circuit (a single chip).

  4. Increasing clock speed improves performance because:

    Answer: A. More fetch-decode-execute cycles occur per second A faster clock means more fetch-decode-execute cycles each second, so more instructions are completed in the same time.

More questions in the 8 quizzes below โ†“ ยท All O Level Computer Science MCQs with answers โ†’

Hardware: common questions

What is meant by input device?

An input device is hardware that captures data from the outside world and sends it into the computer. It is needed because the CPU can only process data it has been given: without input there is nothing to process.

What is meant by output device?

An output device is hardware that takes the results of processing and presents them, or uses them to make something happen. It is needed because results that stay inside the computer are of no use to anyone: they must be seen, heard, printed or turned into an action.

What is meant by sensor?

A sensor is an input device that measures a physical property, such as temperature, light or pressure, and sends the reading to a computer. The purpose of sensors is to let a computer monitor or control something in the real world automatically, without a person taking readings.

What is meant by primary storage?

Primary storage is storage that is directly accessed by the CPU. It is made up of RAM and ROM.

What is meant by secondary storage?

Secondary storage is storage that is not directly accessed by the CPU. It is necessary for more permanent storage of data: it is non-volatile, so programs, the operating system and your files stay there when the power is off.

How can I practise Hardware?

Try the questions on this page, then the 8 self-marking quizzes below, which explain every answer. The worksheet gives the same practice on paper, with an answer sheet.

Practise real quizzes on this topic: 8 quizzes

Each quiz marks itself the moment it is finished and explains every answer. Start easy and work up.

๐Ÿ–จ๏ธHardwareThe CPU runs programs through the fetch-decode-execute cycle, using registers such as the PC, MAR, MDR, CIR and accumulator along with the address, data and control buses.See the worksheet โ†’

โฌ‡ Download free PDFFree sample copy with a light QuizByt mark. A free account gives you more.