In this lesson
- It starts with a question. A tiny circuit adds two switches, A and B, each worth 1 when on. It shows the answer on two lamps: a “ones” lamp worth 1 and a “twos” lamp worth 2. Both switches are on. Which lamps should light?
- The idea you will find. XOR gives the ones digit; AND gives the carry. — Your table for the ones lamp matched XOR: on when the inputs differ. The twos lamp lights only when both switches are on, which is AND. Wire A and B into both gates at once and you have a circuit that adds two bits. The AND output is called the carry, because it is carried over to the next column.
- How you learn it. By doing: sorting, matching.
- Length. 6 short steps. Progress saves on this phone.
Part of Logic Gates
Combining AND, OR and NOT into circuits that make real decisions.