Logic gates trainer
AND outputs 1 only when both inputs are 1. OR outputs 1 when at least one input is 1. NOT flips its input.
Practice
Ten expressions. Work out the output, 0 or 1.
Truth tables
| A | B | A AND B | A OR B | NOT A |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 |
Check your specification for any other gates you need.