Logic circuits
When is the output of a 2-input OR gate 0?
- AWhen the two inputs differ
- BWhen both inputs are 0
- CWhen both inputs are 1
Show answer and explanation
Answer: B. When both inputs are 0
An OR gate (logical sum) outputs 1 if at least one input is 1. Its output is therefore 0 only when all inputs are 0.
- A. When the inputs differ, the OR output is 1.
- B. Correct. OR outputs 0 only when all inputs are 0.
- C. When both inputs are 1, the OR output is 1.