Question bank › A-level › A-level Computer Science › Fundamentals of computer organisation and architecture

Internal hardware, processor components, fetch–execute, interrupts and performance

10 questions46 marksabout 55 min

Answer on paper first, then reveal the mark scheme one mark at a time.

1Core4 marks

Describe the fetch stage of the fetch-execute cycle in a processor with a Von Neumann architecture. [4]

2Core5 marks

(a) Name the bus that: [3]

  • (i) carries the location in memory to be read or written;
  • (ii) carries instructions and data between the processor and memory;
  • (iii) carries signals such as memory read and memory write.

(b) A processor has a 20-bit address bus. Calculate the number of memory locations it can address. [2]

3Standard4 marks

A computer's performance is improved by adding more processor cores and a larger cache.

Explain how each change can improve performance. [4]

Stuck on Internal hardware, processor components, fetch–execute, interrupts and performance?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4Core3 marks

(a) Describe the stored program concept. [2]

(b) State the role of the clock in a processor. [1]

5Core4 marks

A processor contains an arithmetic logic unit (ALU), a status register and a set of general-purpose registers.

(a) State the purpose of the ALU. [1]

(b) Describe the purpose of the status register. Give an example of when its contents are used. [2]

(c) Explain why having more general-purpose registers can make a program run faster. [1]

6Standard4 marks

A digital signal processor (DSP) in a pair of noise-cancelling headphones uses a Harvard architecture. A laptop uses a von Neumann architecture.

(a) Describe one difference between the two architectures. [1]

(b) Explain why the Harvard architecture is suitable for the DSP in the headphones. [3]

7Hard7 marks

The diagram shows part of main memory. The program counter (PC) holds 200 and register R2 holds 0.

The processor uses the instruction set below:

  • LDR Rd, <memory ref> — load the value in the memory location into register Rd
  • ADD Rd, Rn, #n — add the number n to the value in register Rn and store the result in register Rd
  • STR Rd, <memory ref> — store the value in register Rd into the memory location

The three instructions at addresses 200, 201 and 202 are fetched, decoded and executed in turn.

(a) State the contents of each of the following after the instruction at address 202 has been executed: [5]

  • (i) PC
  • (ii) MAR
  • (iii) MBR
  • (iv) CIR
  • (v) memory location 306

(b) State the contents of the MAR immediately after the instruction at address 201 has been executed, and explain your answer. [2]

Main memoryAddressContents200LDR R2, 305201ADD R2, R2, #6202STR R2, 306……305473060All values are denary.
8Standard5 marks

Two processors are compared. Assume one transfer along the data bus can take place every clock cycle.

Processor PProcessor Q
Clock speed2.4 GHz3.0 GHz
Data bus width32 bits16 bits

(a) Calculate the maximum number of bytes per second that can be transferred along the data bus of each processor. Show your working. [3]

(b) Processor Q has the higher clock speed. Explain why a program that processes large amounts of 32-bit data may still run faster on processor P. [2]

9Hard4 marks

An embedded processor has a 24-bit address bus. Its memory is word-addressable: each address refers to one 16-bit word.

(a) Calculate the maximum amount of main memory, in mebibytes (MiB), that the processor can address. Show your working. [2]

(b) A new version of the processor has a 26-bit address bus. State how many times larger the maximum addressable memory is. [1]

(c) The processor has a 16-bit data bus. State how many data bus transfers are needed to read a 64-bit floating-point value from memory. [1]

10Stretch6 marks

A processor checks for interrupts at the end of each fetch–execute cycle. Interrupts have priorities; a higher-priority interrupt can interrupt a lower-priority interrupt service routine (ISR).

While a user program is running, the printer sends a low-priority interrupt. Part-way through the printer's ISR, a high-priority interrupt arrives from a power-failure sensor.

Explain how the processor handles this sequence of events, from the arrival of the printer interrupt until the user program resumes. In your answer, refer to the volatile environment and the stack. [6]

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session