Half adder, full truth table — adders
introtwo outputs, four rows
Answer
S column 0110, C column 0001
Why this example is worth doing
Both output columns beside each other, which is where the XOR and AND gates are seen to fall out of the specification rather than being chosen. Reading the S column gives XOR's table exactly; reading C gives AND's. The page presents the derivation in that direction — table first, gates second — because that is the direction real design goes, and it is the habit the K-map and minimisation pages depend on.
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
Output table
| A | B | S | C |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |