Full Marks

GCSE Computer Science · Topic 9

Computer systems in detail

Computer systems in detail looks closely at how the C P U, memory and storage work, and at the software that controls them.

We will follow the fetch decode execute cycle through the registers, and see what makes a C P U faster.

Then we compare R A M, R O M and virtual memory, choose secondary storage, build logic circuits, and study operating systems and utilities.

In this topic

  1. 9.1Von Neumann architecture and the fetch-decode-execute cycle with registersFree below · 29 questions
  2. 9.2Factors affecting CPU performance: clock speed, cores and cacheOpen in Full Marks · 31 questions
  3. 9.3Primary memory: RAM, ROM and virtual memoryOpen in Full Marks · 41 questions
  4. 9.4Secondary storage: magnetic, optical and solid state, and choosing storageOpen in Full Marks · 74 questions
  5. 9.5Boolean logic: AND, OR, NOT, XOR gates, truth tables, logic diagrams and expressionsOpen in Full Marks · 58 questions
  6. 9.6Operating systems and utility softwareOpen in Full Marks · 33 questions

9.1 · Free notes

Von Neumann architecture and the fetch-decode-execute cycle with registers

Diagram: Von Neumann architecture and the fetch-decode-execute cycle with registers

Key points

In more detail

Practice

Von Neumann architecture and the fetch-decode-execute cycle with registers: 10 questions

Pick an answer to check it, or open the answer for the explanation.

1. Which register holds the address of the next instruction to be fetched?

  1. Memory address register (MAR)
  2. Memory data register (MDR)
  3. Program counter (PC)
  4. Accumulator (ACC)
Show answer

C: Program counter (PC). The PC holds the address of the next instruction. The MAR holds the address currently being accessed, which is not necessarily the next instruction.

2. What happens first in the fetch stage of the cycle?

  1. The instruction is decoded by the control unit
  2. The ALU performs a calculation
  3. The contents of the PC are copied to the MAR
  4. The result is written to the ACC
Show answer

C: The contents of the PC are copied to the MAR. Fetch begins by copying the address in the PC to the MAR so memory knows which location to read. Decoding and execution come later.

3. Which part of the CPU performs AND, OR and comparison operations?

  1. Program counter
  2. Address bus
  3. ALU
  4. Control unit
Show answer

C: ALU. The arithmetic logic unit carries out arithmetic, logical and comparison operations. The control unit only coordinates and sends signals.

4. The PC holds 100 at the start of a fetch. What does it hold once the instruction at 100 has been fetched?

  1. 200
  2. 99
  3. 100
  4. 101
Show answer

D: 101. The PC is incremented by 1 during fetch so it points to the next instruction, 101. It is not changed again unless a jump is executed.

5. Which bus is one-directional, carrying locations from the CPU to memory?

  1. Address bus
  2. Expansion bus
  3. Data bus
  4. Control bus
Show answer

A: Address bus. Addresses are only ever sent from the CPU to memory, so the address bus is one-way. The data bus carries data both ways.

6. What is stored in the MDR?

  1. The data or instruction just read from, or about to be written to, memory
  2. The type of operation to perform
  3. The result of the last calculation only
  4. The address of the next instruction
Show answer

A: The data or instruction just read from, or about to be written to, memory. The MDR is the buffer for whatever is travelling to or from memory via the data bus. The PC and ACC hold the other items listed.

7. A jump instruction to address 50 is executed. What happens to the PC?

  1. It is reset to 0
  2. It is left unchanged
  3. It is incremented by 50
  4. It is overwritten with 50
Show answer

D: It is overwritten with 50. A branch or jump replaces the PC's value with the target address, so the next fetch comes from address 50 rather than the following one.

8. Which statement about registers is correct?

  1. They are slower than cache but larger
  2. They hold the whole program while it runs
  3. They are small, very fast storage locations inside the CPU
  4. They are part of RAM and are volatile secondary storage
Show answer

C: They are small, very fast storage locations inside the CPU. Registers are tiny, very fast storage inside the CPU, each with a specific job. Programs are held in RAM, and registers are faster than cache.

9. Why does the Von Neumann architecture suffer a bottleneck?

  1. ROM is too small to store the OS
  2. The ALU can only add numbers
  3. Instructions and data share one memory and bus, so cannot be fetched together
  4. The clock speed is always fixed
Show answer

C: Instructions and data share one memory and bus, so cannot be fetched together. Because instructions and data use the same memory and buses, the CPU cannot fetch an instruction and data simultaneously. This limits throughput.

10. Which sequence of events in the fetch stage is correct?

  1. PC copied to MAR, PC incremented, instruction read into MDR, then copied to CIR
  2. CIR is decoded, then PC is copied to the MAR
  3. Instruction is executed, then copied to the CIR
  4. Instruction goes to MDR, address goes to MAR, then PC is copied
Show answer

A: PC copied to MAR, PC incremented, instruction read into MDR, then copied to CIR. The address goes PC to MAR, the PC increments, memory returns the instruction via the data bus to the MDR, and it is then copied to the CIR for decoding.

Keep going in Full Marks

Full Marks has 29 questions on Von Neumann architecture and the fetch-decode-execute cycle with registers (19 more than here), set out in practice levels. You also get notes and 3D models for all 6 subtopics of Computer systems in detail, plus games, timed exams and past papers.

On your exam board

All GCSE Computer Science topics