EXAM QUESTIONS · IGCSE 0478

Hardware Exam-Style Questions with Answers (IGCSE 0478)

Original exam-style questions on the CPU, the fetch-execute cycle, CPU performance, embedded systems, RAM and ROM, virtual memory, storage, cloud storage, network hardware and sensors for Cambridge IGCSE Computer Science 0478 (Paper 1). There are 30 marks in total. Try each question on paper first, then press Show answer to see the mark scheme.

Question 1[3 marks]

Describe the role of each register in the CPU.

  1. Program Counter (PC) [1]
  2. Memory Address Register (MAR) [1]
  3. Memory Data Register (MDR) [1]
Show answer
  1. Holds the address of the next instruction to be fetched. [1]
  2. Holds the address of the memory location that is about to be read from or written to. [1]
  3. Holds the data or instruction that has just been read from memory, or is about to be written to memory. [1]
Question 2[4 marks]

Describe the stages of the fetch part of the fetch-execute cycle.

Show answer

Any four from:

  • The address in the PC is copied to the MAR.
  • The address is sent along the address bus to memory.
  • The instruction at that address is sent along the data bus to the MDR.
  • The instruction is copied from the MDR to the CIR (Current Instruction Register).
  • The PC is incremented by 1 so it points to the next instruction.
Question 3[3 marks]

Explain how each of these affects the performance of a CPU: clock speed, number of cores, cache size.

Show answer
  • Clock speed: a higher clock speed means more instructions can be carried out per second. [1]
  • Cores: more cores mean more instructions can be processed at the same time. [1]
  • Cache: a larger cache means more frequently used data and instructions can be stored close to the CPU, so they are accessed faster than from RAM. [1]
Question 4[2 marks]

Describe what is meant by an embedded system and give one example.

Show answer
  • A microprocessor-based system built into a larger device to perform one dedicated function. [1]
  • Example: washing machine, microwave, central heating controller, car engine management system, fitness tracker. [1]
Question 5[4 marks]

Describe two differences between RAM and ROM.

Show answer

Any two differences (2 marks each, comparing both) from:

  • RAM is volatile (contents are lost when the power is off); ROM is non-volatile.
  • RAM can be read from and written to; ROM can only be read.
  • RAM stores the data and programs currently in use; ROM stores the start-up instructions (bootstrap/firmware).
  • RAM is usually much larger in capacity than ROM.
Question 6[3 marks]

Explain what virtual memory is, why it is used, and one drawback.

Show answer
  • Part of secondary storage is used as if it were RAM. [1]
  • It is used when RAM is full, so more programs/data can be open. [1]
  • Drawback: it is much slower than RAM, so performance drops (data has to be swapped between RAM and storage). [1]
Question 7[4 marks]

Describe how solid-state storage stores data, and give two advantages of solid-state storage over magnetic storage.

Show answer
  • Uses NAND/NOR flash memory with transistors/cells [1] that trap electric charge to store 1s and 0s (no moving parts). [1]

Any two advantages [2] from:

  • Faster to read and write data.
  • More robust/durable because there are no moving parts.
  • Uses less power and produces less heat.
  • Lighter and smaller, so suitable for portable devices.
  • Silent.
Question 8[2 marks]

Give one advantage and one disadvantage of storing files using cloud storage.

Show answer
  • Advantage: files can be accessed from anywhere with an internet connection / on many devices; easy to share; no need to buy physical storage; the provider manages back-ups. [1]
  • Disadvantage: needs an internet connection; security and privacy concerns because data is stored by a third party; ongoing subscription costs. [1]
Question 9[3 marks]

Describe the difference between a MAC address and an IP address, and state the role of a router.

Show answer
  • A MAC address is a unique address given to a network interface card by the manufacturer and does not usually change. [1]
  • An IP address is given to a device by the network so it can be found on that network/the internet, and can change. [1]
  • A router forwards data packets between networks, using the IP address to send each packet towards its destination. [1]
Question 10[2 marks]

State a suitable sensor for each use.

  1. Detecting when someone enters a room for a burglar alarm [1]
  2. Checking whether the soil in a greenhouse needs watering [1]
Show answer
  1. Infrared (motion) sensor [1] (a pressure sensor under a mat is also accepted)
  2. Moisture (humidity) sensor [1]

Frequently asked questions

What happens in the fetch stage of the fetch-execute cycle?

The address in the PC is copied to the MAR, the instruction at that address is sent along the data bus to the MDR, and then to the CIR. The PC is incremented to point to the next instruction.

Are these past paper questions?

No. These are original exam-style questions written by a Computer Science teacher in the Cambridge style.

Revise the topic: IGCSE hardware notes · Hardware flashcards · All exam-style questions