The OR gate is a logic gate that outputs 1 (true) when at least one of its inputs is 1 (true).
INPUT | OUTPUT | |
A | B | A OR B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
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."
There are three symbols for the OR gate:
MIL/ANSI Symbol | IEC Symbol | DIN Symbol |
This article uses material from the Wikipedia Simple English article OR gate, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). Content is available under CC BY-SA 4.0 unless otherwise noted. Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki Simple English (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.