AND gate outputs “TRUE” whenever all of its inputs are true.
The truth table for a two-input AND gate is shown at right, with 0 = false, 1 = true.
The switch designations and positions should be familiar. They correspond to the two-switch LED Circuit explored in Simple LED Circuit: Challenge #2.
Dynamic Simulation in ICircuit
The short video shows how an electronic AND gate can be switched with voltage levels, 5 volts equal to “1” or TRUE and 0 volts equal to “0” or FALSE. You should see that the LED is powered (blue trace) and lit whenever inputs A (yellow trace) AND B (green trace) are at 5 volts.
| Switch A | Switch B | LED |
| 0 | 0 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 1 | 1 |