Carry into the next binary column
Add from the rightmost column. Zero plus zero gives 0; zero plus one gives 1. One plus one gives binary 10: write 0 in this column and carry 1 to the next. One plus one plus a carried one gives binary 11: write 1 and carry 1.
Add 01100101 and 01000111
- The denary values are 101 and 71.
- In the ones column, 1 + 1 = 10: write 0 and carry 1.
- Continue left, including each carry exactly once.
- The eight-bit result is 10101100. Check: 101 + 71 = 172.
There is no eight-bit overflow here: 172 is within 0–255.
OCR focus
Overflow means the answer needs more bits
For an unsigned eight-bit value, the greatest representable integer is 255. If addition produces a ninth bit, the exact result cannot fit in the allocated eight bits. That is overflow; it is not a syntax error.
Add 11001000 and 01100100
- The values are 200 and 100, so the exact result is 300.
- The full binary result is 1 00101100, requiring nine bits.
- Keeping only eight bits leaves 00101100, which is 44, not 300.
The discarded carry explains why the stored eight-bit value is wrong.
AQA focus
AQA: add up to three unsigned values
You may be asked to add up to three binary numbers, each at most eight bits long. Keep the place values aligned and include the carry in each column. AQA's assessed tasks need at most three 1s added in any one column, including an incoming carry; the answer fits within eight bits, with no carry beyond the eighth position.
25 + 14 + 7
- Write 00011001, 00001110 and 00000111 in aligned columns.
- In the ones column, 1 + 0 + 1 = binary 10: write 0 and carry 1 into the twos column.
- In the twos column, 0 + 1 + 1 plus that carry is three: write 1 and carry 1 into the fours column.
- Continue including each carry once. The final result is 00101110, or 46.
- Check with two additions: 25 + 14 = 39 (00100111), then 39 + 7 = 46.
An intermediate total helps check the result, but show aligned binary carries if the question awards marks for them.
A shift moves bits, not the place-value labels
In a logical shift, move every bit by the requested number of places. Fill newly vacant positions with zeroes and discard bits leaving the fixed-width register.
For an unsigned value with no significant bits lost, shifting left by n places multiplies by 2ⁿ. Shifting right by n places gives whole-number division by 2ⁿ, discarding any remainder.
| Operation | Eight-bit pattern | Denary |
|---|---|---|
| Start | 00101101 | 45 |
| Shift left one | 01011010 | 90 |
| Start again, shift right one | 00010110 | 22 |
Check the width before claiming multiplication
The rule ‘left shift doubles’ needs a condition: the result must fit. In eight bits, 10000001 shifted left once becomes 00000010. The original 129 cannot double to 258 inside eight bits.
Continue with your exam board
The course combines lesson videos, interactive activities, topic questions and original exam mocks. Sign in to use the learning tools and save your progress; your account’s course access applies.
Independent learning resources. Not endorsed by AQA or OCR. These public introductions complement the full course and the official specification.