The AND produces a 1 only if both inputs are 1. The OR produces a 0 only if both inputs are 0.
| Input | Output | ||
|---|---|---|---|
| left | right | AND | OR |
| 0 | 0 | 1 | 0 |
The AND produces a 1 only if both inputs are 1. The OR produces a 0 only if both inputs are 0.
| Input | Output | ||
|---|---|---|---|
| left | right | AND | OR |
| 0 | 0 | 1 | 0 |