Amateur Extra Question E7A08
E7A: Digital circuits: digital circuit principles and logic circuits; classes of logic elements; positive and negative logic; frequency dividers; truth tables
What logical operation does an OR gate perform?
- It produces a 1 at its output if any input is 1 (correct answer)
- It produces a 0 at its output if all inputs are 1
- It produces a 0 at its output if some but not all inputs are 1
- It produces a 1 at its output if all inputs are 0
Correct answer: A, It produces a 1 at its output if any input is 1
Explanation
An OR gate outputs 1 when at least one input is 1. It outputs 0 only when every input is 0. The two-input truth table is 00→0, 01→1, 10→1, 11→1, so think "this OR that OR both." Contrast this with AND, which needs every input to be 1 before it outputs 1.
Why the other answers are wrong
- B, It produces a 0 at its output if all inputs are 1: A 0 output when all inputs are 1 is NAND behavior; an OR gate outputs 1 when all inputs are 1.
- C, It produces a 0 at its output if some but not all inputs are 1: A 0 output for mixed inputs resembles XNOR; an OR gate outputs 1 whenever any input is 1, including when the inputs are mixed.
- D, It produces a 1 at its output if all inputs are 0: A 1 output when all inputs are 0 is NOR behavior; an OR gate outputs 0 when every input is 0.