Cambridge AS Level Computer Science 9618 · 4.1 Central Processing Unit (CPU) Architecture

Q9 · 9618/13/O/N/23 Q9

Worked solution from the Processor Fundamentals Paper 1 Theory Fundamentals booklet, Part 1 of 3.

Q99618/13/O/N/23original Q9Structured · 13 marks
Question 9 from 9618/13/O/N/23

Worked solution

(a)(i)

Any three of these:

Control unit (CU) [1]

Arithmetic and Logic Unit (ALU) [1]

Immediate Access Store (IAS) (main memory) [1]

The system clock also scores.

(a)(ii)

Any two differences:

Special purpose registers hold the status of a program, whereas general purpose registers hold temporary data during operations [1]

Special purpose registers have one specific use, whereas general purpose registers can be used for any purpose [1]

Another accepted point: most instructions can use general purpose registers, but only certain instructions use special purpose ones.

(b)

StepDescription
PC ← [PC] + 1The address in PC is incremented.
MDR ← [[MAR]]The data in the location pointed to by the MAR is copied to the MDR.
MAR ← [PC]The contents of PC are copied to the MAR.
CIR ← [MDR]The contents of MDR are copied into CIR.

PC ← [PC] + 1 [1]

Description for MDR ← [[MAR]]: the data in the location pointed to by the MAR is copied to the MDR [1]

Description for MAR ← [PC]: the contents of PC are copied to the MAR [1]

CIR ← [MDR] [1]

(c)

Write one cause, for example division by zero [1]

Other accepted causes: a run-time error, out of memory bounds, a program requesting an external device or input, a buffer overflow.

(d)

Put the letters in the gaps in the right order:

Statement 2 = D (identify the source and check the priority) [1]

Statement 4 = A (the ISR address is loaded into the PC) [1]

Statement 6 = B (lower priority interrupts are re-enabled) [1]

KEY IDEAFetch: MAR ← [PC], MDR ← [[MAR]], PC ← [PC]+1, CIR ← [MDR]; interrupts are checked after each cycle.
TOTAL 13 marks

Official mark scheme

Mark scheme for 9618/13/O/N/23 question 9
VIDEO
▶ Starts at Q9 (1:15:41)

Starts at Q9 (1:15:41) · by Pseudocode Pro. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.