9618/33/O/N/25 question 13: worked solution (October/November 2025, paper 33)
Show as plain textHide plain text
Cambridge A2 Level Computer Science 9618 · 20.1 Programming Paradigms Worked solution from the Further Programming Paper 3 Advanced Theory booklet, Part 1 of 2. Q23 9618/33/O/N/25 original Q13 Structured · 7 marks Worked solution Store 250 in X, load location 563 into Y, add X, subtract location 899, store in Total. Working: 125 + 250 = 375, then 375 − 63 = 312. LDM #250 STO X LDD 563 STO Y ADD X SUB 899 STO Total X: Y: Total: LDM #250 [1] LDD 563 [1] ADD X using the label [1] SUB 899 [1] At least one correct STO [1] Label Content X: 250 Y: 125 Total: 312 At least one labelled address set up with its correct value [1] The other two labelled addresses set up with correct values (Y: 125, Total: 312) [1] KEY IDEA Use LDM for a number, LDD for an address, and label the data after the code. TOTAL 7 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Craig'n'Dave. Tap the picture to open it on YouTube.