9618/11/O/N/22 question 5: worked solution (October/November 2022, paper 11)
Show as plain textHide 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. Q4 9618/11/O/N/22 original Q5 Structured · 11 marks Worked solution (a) Instructions and data are stored in the same memory (main memory) [1] (b)(i) PC : stores the address of the next instruction to be fetched [1] IX : stores a value that is added to an address to give another address [1] SR : stores flags set by events, such as the results of arithmetic and logic operations and interrupts [1] (b)(ii) CPU component Data bus Address bus Control bus System clock ✓ Memory Address Register (MAR) ✓ System clock on the control bus and MAR on the address bus (both rows needed) [1] (b)(iii) Any two of these: To coordinate or synchronise the actions of the other CPU components [1] To send and receive control signals along the control bus [1] Other accepted points: to manage the execution of instructions in sequence, or to control communication between the CPU components. (c) An interrupt is a signal sent from a device or process [1] It is seeking the attention of the processor [1] (d) Any two of these: Division by zero (or another run-time error in a program) [1] Attempt to access an invalid memory location [1] Other accepted causes: array index out of bounds, or stack overflow. KEY IDEA Instructions and data share one memory, and the PC, IX and SR each have one clear job. TOTAL 11 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.