A lamp at the top of a staircase, a switch at the bottom, a switch at the top: either switch should toggle the lamp.
- Truth table: lamp = 1 exactly when the two switches differ. Which gate is that?
- In couples: one partner is switch A, the other switch B (hand up = 1). A third person is the lamp. Prove the table.
- Write it as a formula (A·B′ + A′·B) and draw it as series/parallel wiring.
- Real two-way switches use a clever crossover wiring. Why is that XOR?