Question 1
1 markWhat is the result of the 8-bit binary addition 10101010 + 01010101?
Choose your answer.
- 100000000
- 11111110
- 11111111
- 00000000
Model answer
11111111
Explanation
In every column one number has a 1 and the other has a 0, so each column gives 1 with no carry. The result is 11111111 = 255, which is the largest 8-bit number but still fits, so there is no overflow.
Mark scheme
-
1 mark
11111111
Every column is 1 + 0 or 0 + 1, so there are no carries: 170 + 85 = 255. 100000000 and 00000000 wrongly assume a carry / overflow. If more than one option is given, 0 marks.