Half adder, A = 1, B = 1 — adders
intro1 + 1 = 10 in binary
Answer
S = 0, C = 1
Why this example is worth doing
The row that explains why a half adder needs two outputs. One plus one is two, which does not fit in one bit, so the sum bit is 0 and the carry is 1 — the answer is the two-bit number 10. Students who expect a single output get stuck exactly here, and the page opens on it rather than on the trivial rows. The sum is A ⊕ B and the carry is A·B, two gates in total.
Try your own input in the Half adder & full adder. Truth tables, K-maps and circuits for both adders, and the ripple-carry chain.
How the answer is reached
The probed row
A = 1, B = 1
Output table
| A | B | S | C |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |