Tap switches to toggle inputs ON (1) or OFF (0). Watch how different gates combine inputs to produce outputs. The highlighted row in each truth table shows the current state.
| A | OUT |
|---|---|
| 0 | 1 |
| 1 | 0 |
Inverts the input — 1 becomes 0, 0 becomes 1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Output is 1 only when both inputs are 1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
Output is 1 when at least one input is 1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
NOT AND — output is 0 only when both inputs are 1
| A | B | OUT |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Exclusive OR — output is 1 when inputs are different