Definition, Meaning & Synonyms
or-gate
Logic Gate
/ɔːr ɡeɪt/
Definition
An or-gate is a basic digital logic gate that implements logical disjunction – it outputs true or high when at least one of its inputs is true or high.
Examples
- The or-gate can be used in alarm systems to trigger an alert when any of the sensors detect movement.
- In programming, the or-gate can be implemented using the ‘||’ operator to check multiple conditions.
- An or-gate can be visualized as a light switch that turns on a bulb when at least one switch is on.
Meaning
In digital electronics, an or-gate operates on binary inputs and is a fundamental building block for creating logical circuits.
Synonyms
- Disjunction Gate
- Logical OR Gate