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

Q13 · 9618/12/M/J/25 Q1

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

Q139618/12/M/J/25original Q1Structured · 9 marks
Question 1 from 9618/12/M/J/25

Worked solution

(a)

The three incorrect statements are 1, 3 and 4. Write each number with its corrected statement.

Incorrect statement numberCorrected statement
1The Program Counter (PC) stores the address of the next instruction to be fetched from memory.
3The Control Unit (CU) sends signals to other components on the control bus.
4The Memory Data Register (MDR) holds data read from, or to be stored in, the memory address in the MAR.

Statement 1 corrected (the PC stores an address, not the instruction) [1]

Statement 3 corrected (control bus, not data bus) [1]

Statement 4 corrected (the MDR holds data, it does not transfer it to an address) [1]

(b)

Any one register with its matching role:

Register: Current Instruction Register (CIR) [1]

Role: stores the instruction that is going to be decoded and executed next. [1]

Other accepted pairs: the Status Register (holds flag bits that show a state or event), or the Interrupt Register (stores details of interrupts that have happened).

(c)

Any four of these:

At the start or end of the F-E cycle the interrupt register is checked. [1]

The priority of any waiting interrupt is checked against the current process. [1]

If it is higher, the contents of the registers are stored on the stack. [1]

The correct Interrupt Service Routine (ISR) is called to deal with the interrupt. [1]

When the ISR finishes, a further check is made; if there are no higher-priority interrupts, the registers are restored and the next F-E cycle carries on. This can score in place of one above.

KEY IDEARegisters hold addresses or data, the CU uses the control bus, and interrupts are checked each cycle then handled by an ISR after saving state.
TOTAL 9 marks

Official mark scheme

Mark scheme for 9618/12/M/J/25 question 1
VIDEO
▶ Whole paper

Video solution of the whole paper · by Virtual Help. 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.