9618/11/O/N/23 question 5: worked solution (October/November 2023, paper 11)

Show as plain text

Cambridge AS Level Computer Science 9618 · 4.1 Central Processing Unit (CPU) Architecture Worked solution from the Processor Fundamentals Paper 1 Theory Fundamentals booklet, Part 1 of 3. Q8 9618/11/O/N/23 original Q5 Structured · 12 marks Worked solution (a) Give two registers, each with its role (1 mark for the name and 1 for the role). For example: Program Counter (PC) [1] Role: stores the address where the next instruction is to be read from [1] Memory Address Register (MAR) [1] Role: stores the address of the memory location currently being read from or written to [1] Other accepted registers: Current Instruction Register (CIR) (holds the instruction being decoded or executed) and the Status Register (individual bits set or cleared, for example overflow). (b) Any two of these points: The IAS holds all the data, instructions and programs currently in use [1] It is volatile memory with fast access times [1] (c)(i) Write: the CPU can carry out nearly twice as many fetch-execute cycles per second (4 billion instead of 2.1 billion) [1] (c)(ii) Any five of these points: Multiple cores add overheads , because the cores must communicate with each other [1] The software may not be written for multiple cores [1] ... so one core is left idle [1] Memory access speed may not match the speed of the cores [1] ... so there are delays [1] The two computers may differ in other ways, for example more RAM or a GPU (these also score). KEY IDEA Doubling cores does not double speed because of overheads and software that cannot use them. TOTAL 12 marks Official mark scheme VIDEO ▶ Starts at Q5 (44:05) Starts at Q5 (44:05) · by Pseudocode Pro. Tap the picture to open it on YouTube.