Skip to main content

The half adder

Open to everyone until Tuesday, November 24

To keep it, print it while it is open.

A half adder adds two binary digits using just two logic gates. An XOR gate produces the sum bit and an AND gate produces the carry bit, so 1 + 1 gives sum 0 and carry 1, which is binary 10.

In the picture

  1. Two input switches, both on: the bits A = 1 and B = 1
  2. XOR gate: outputs 1 only when the two inputs differ
  3. AND gate: outputs 1 only when both inputs are 1
  4. Sum lamp, off: the sum bit is 0
  5. Carry lamp, on: the carry bit is 1, so the result is 10 in binary

Examples

  • Adding 1 + 1 by hand in binary: you write 0 and carry 1, exactly what the two gates do.
  • A calculator or phone processor chains millions of adder circuits built from this same idea.

Quiz: The half adder (Age 16)

  1. In a half adder, which gate produces the sum bit and which produces the carry bit?

    • XOR gives the sum, AND gives the carry
    • AND gives the sum, XOR gives the carry
    • OR gives the sum, AND gives the carry
  2. A half adder adds the bits 1 and 1. What are its outputs?

    • Sum 0, carry 1
    • Sum 1, carry 1
    • Sum 1, carry 0
  3. Why can’t half adders alone be chained to add numbers with several columns of bits?

    • They have no carry input
    • They can only add the bit 0
    • They produce no carry output

The answers, each with its explanation, are in the app. This quiz is free there while the lesson is in the free week.

Get the app

Free app, optional subscription
App Store Google Play

Carry on in the app

At least one new illustrated lesson every weekday for your child’s year, with its quiz and a reminder at 6:15 pm.

Your child’s teacher does not use My Enhanced Teacher yet?

Tell them about it

Technology, Age 16