UpperGrades

Binary addition for GCSE Computer Science: the 4 rules and the overflow trap

Binary addition for GCSE Computer Science: the 4 rules and the overflow trap

Binary addition is one of the most reliable places to pick up marks in AQA GCSE Computer Science Paper 2. The arithmetic is simpler than decimal addition because there are only two digits to think about — 0 and 1.

Yet year after year, examiner reports note students throwing away marks on the very last column. Here are the core rules, how to handle carries cleanly, and the exact overflow trap students need to avoid on exam day.

The 4 basic addition rules

Binary arithmetic works in base 2 (place values 1, 2, 4, 8, 16, 32, 64, 128) rather than base 10. That means each column can only ever hold a 0 or a 1. When adding two binary digits together, there are four fundamental combinations:

  • 0 + 0 = 0
  • 0 + 1 = 1
  • 1 + 0 = 1
  • 1 + 1 = 0 (carry 1 into the next column to the left)

Just like in primary school column addition, when a column's total reaches the base value (2 in binary, written as 10), the zero stays in that column and the 1 is carried over into the next place value.

The fifth rule: what happens when you have a carry

The moment you carry a 1 into a column that already has two ones, students face a fifth case:

  • 1 + 1 + 1 = 1 (carry 1 into the next column to the left)

Why? Because 1 + 1 + 1 in denary equals 3. In binary, 3 is written as 11 (one two and one unit). So you write down 1 in the current column and carry 1 to the left. Keeping carries written clearly beneath each column is the single best habit for preventing silly mistakes.

A worked example: adding two 8-bit numbers

Let's add the binary representations for 77 (01001101) and 43 (00101011):

  • Row 1: 01001101 (77 in denary)
  • Row 2: 00101011 (43 in denary)
  • Carries: 01111110 (written clearly beneath)
  • Result: 01111000 (120 in denary)

Checking the working: 77 + 43 = 120. In binary, 01111000 has place values at 64 + 32 + 16 + 8 = 120. The math checks out.

The overflow error trap: where marks are lost

In AQA 8525, questions frequently ask students to add two 8-bit numbers where the answer exceeds 255. For example, adding 11000000 (192) and 01000000 (64) equals 100000000 (256). Notice that the answer has 9 bits, not 8.

Examiners report two common student mistakes here:

  • Mistake 1: Writing down only the lower 8 bits (00000000) and discarding the carried 9th bit without comment.
  • Mistake 2: Leaving the 9th bit in place without explaining what it means for the computer system.

The mark scheme rule: When adding two 8-bit binary numbers produces a 9th bit, an overflow error has occurred. The computer's accumulator or register only has 8 bits of storage capacity. The extra 9th bit cannot fit into the allocated byte, setting the processor's overflow flag and causing arithmetic distortion unless caught.

To secure full marks on an AQA exam, the student must write out the full sum (including the 9th bit) and explicitly state: "An overflow error has occurred because the result requires 9 bits, which cannot fit into an 8-bit register."

Adding three binary numbers

Specification point 3.3.4 explicitly requires students to add up to three binary numbers. Trying to add three rows simultaneously often leads to double-carries (e.g. 1 + 1 + 1 + 1 = 4, which is 100 in binary, carrying two places to the left).

The safest, exam-tested technique is to split the problem into two standard additions:

  • Step 1: Add the first two binary numbers together to produce an intermediate subtotal.
  • Step 2: Add the third binary number to that subtotal.

This eliminates complex multi-carries, reduces cognitive load, and leaves clear working out that examiners can award method marks for even if a minor arithmetic slip occurs.

Free practice and revision tools

If your child is revising data representation for AQA GCSE Computer Science, here are three free resources on UpperGrades that require no account:

Sources