Worked solution from the Information representation Paper 1 Theory Fundamentals booklet, Part 1 of 3.
Add the three 8-bit numbers column by column, starting from the right. Write each carry above the next column (a column can carry 1 into the next).
1111111 (carries) 10011110 01100001 + 00011001 ----------- (1)00011000
Check: 158 + 97 + 25 = 280, which is more than 255.
Carries clearly shown in the working [1]
Answer 0001 1000 [1]
The extra 9th bit carried out is shown and labelled as overflow, because the answer does not fit in 8 bits. [1]
▶ Starts at Q7 (1:40:15)
Starts at Q7 (1:40:15) · by Pseudocode Pro. 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.