Amateur ExtraE7A08
What logical operation does an OR gate perform?
A
Answer
Practical circuits and system design
Type
A
It produces a 1 at its output if any input is 1
B
It produces a 0 at its output if all inputs are 1
C
It produces a 0 at its output if some but not all inputs are 1
D
It produces a 1 at its output if all inputs are 0
Answer Notes
The operation of an OR gate is one of the simplest in digital logic. As the name suggests, it produces a high output (a 1) if input A, OR input B, OR both are high.
This means that if any input is a 1, the resulting output will be a 1. The only time an OR gate produces a 0 is when all of its inputs are exactly 0.
This differs from an Exclusive-OR (XOR) gate, which would output a 0 if both inputs were 1. A standard OR gate is inclusive, meaning multiple 1s at the inputs still yield a 1 at the output.
Previous · E7A07
What logical operation does a NAND gate perform?
Next · E7A09
What logical operation is performed by a two-input exclusive NOR gate?