Logic 6.9 · Electronics Unit 6
Logic Gates Sandbox
Add a gate, connect a switch to an input and the output to the lamp, and read the truth table. ~ is NOT, • is AND, and ∨ is OR.
Lamp is not connected.
Add a gate, then connect pins. Tab to a pin and press Enter, or tap an output and then an input.
How ~, • and ∨ match the gates
- NOT is ~. The output is the opposite of the one input.
- AND is •. The lamp needs both inputs on.
- OR is ∨, inclusive. The lamp is on if either input is on, or both.
- NAND is ~(p • q). NOR is ~(p ∨ q).
- XOR is on when the inputs differ: (p ∨ q) • ~(p • q).