INPUT | OUTPUT | |
A | B | A OR B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
The OR gate is a logic gate that outputs 1 (true) when at least one of its inputs is 1 (true). That means that if both of its inputs are 0, the output will be 0.
The best way to remember an OR operation is "one or the other, or both."