Cambridge A2 Level Computer Science 9618 · 15.1 Processors, Parallel Processing and Virtual Machines

Q4 · 9618/31/O/N/22 Q10

Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 1 of 2.

Q49618/31/O/N/22original Q10Structured · 6 marks
Question 10 from 9618/31/O/N/22

Worked solution

(a)

Tick one box in each row:

StatementRISCCISC
uses a smaller instruction set✓
uses single-cycle instructions and limited addressing modes✓
uses fewer general-purpose registers✓
uses both hardwired and micro-coded control unit✓
uses a system where cache is split between data and instructions✓

All five rows correct [2]

Four rows correct scores 1 mark instead.

(b)

Write the points in order:

Each instruction is split into subtasks (stages) [1]

The stages are: instruction fetch, instruction decode, operand fetch, execute and write back (store the result) [1]

Each stage takes one clock cycle, and two instructions never use the same stage in the same clock cycle [1]

The second instruction starts in clock cycle 2 while the first has moved to its second stage; the third starts in cycle 3 while the first and second move on, and so on, so the stages overlap [1]

KEY IDEAPipelining overlaps the stages of different instructions so each stage is busy on every clock cycle.
TOTAL 6 marks

Official mark scheme

Mark scheme for 9618/31/O/N/22 question 10
VIDEO
▶ Whole paper

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