9618/31/O/N/22 question 10: worked solution (October/November 2022, paper 31)

Show as plain text

Cambridge A2 Level Computer Science 9618 · 15.1 Processors, Parallel Processing and Virtual Machines Worked solution from the Hardware and Virtual Machines Paper 3 Advanced Theory booklet, Part 1 of 2. Q4 9618/31/O/N/22 original Q10 Structured · 6 marks Worked solution (a) Tick one box in each row: Statement RISC CISC 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 IDEA Pipelining overlaps the stages of different instructions so each stage is busy on every clock cycle. TOTAL 6 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by MAK CS. Tap the picture to open it on YouTube.