Intermediate

Binary Addition and Logical Shifts

AicademyAicademy
·GCSE Computer Science·AQA 8525·7 slides
3.3.4 Binary arithmetic

Binary Addition: The Four Rules

Binary addition works column by column from right to left — exactly like denary addition, but the carry threshold is 2, not 10. There are only four possible column outcomes.

Column inputsBinary resultDigit writtenCarry to next column
0 + 0000
0 + 1110
1 + 11001
1 + 1 + 11111

The fourth rule (1 + 1 + 1) matters when two operand bits are both 1 and a carry also arrives from the previous column. AQA 8525 exam questions involve at most three 8-bit numbers and will never have more than three 1s in any single column.

Write the carry row above the addition before working any column — doing it mentally causes almost all binary addition errors.

Adding Two Binary Numbers

Work from the rightmost column to the leftmost, using the four rules and propagating any carry one column left.

Worked example — add 00110101 (53) and 00011010 (26):

  carry: 0 1 1 0 0 0 0 0
         ─────────────────
         0 0 1 1 0 1 0 1   (53)
       + 0 0 0 1 1 0 1 0   (26)
         ─────────────────
         0 1 0 0 1 1 1 1   (79)

Column trace (right to left):

ColBitsCarry inSumWriteCarry out
01+00110
10+10110
21+00110
30+10110
41+10201
51+01201
60+01110
70+00000

Result: 01001111 = 64 + 8 + 4 + 2 + 1 = 79 ✓ (53 + 26 = 79)

Adding Three Binary Numbers

In AQA 8525 questions, you will only need to add a maximum of three 1s in any single column, including any carry. This means the four rules from the first slide are enough.

Worked example — add 00010111 (23), 00001010 (10), and 00000101 (5):

  00010111   (23)
  00001010   (10)
+ 00000101   (5)
──────────
  00100110   (38)

Key column traces where carries propagate:

ColBitsCarry inSumWriteCarry out
01 + 0 + 10201
11 + 1 + 01311
21 + 0 + 11311
30 + 1 + 01201
41 + 0 + 01201
50 + 0 + 01110

Result: 00100110 = 32 + 4 + 2 = 38 ✓ (23 + 10 + 5 = 38)

4 more slides

Continue this lesson

Create a free account to unlock all 7 slides, track your progress, and ask the AI tutor for help.

Related lessons

7 Slides

Lesson

Hexadecimal Representation

GCSE Computer Science · AQA 8525

1 day ago

7 Slides

Lesson

ASCII and Unicode: Character Encoding

GCSE Computer Science · AQA 8525

1 day ago