IGDTUW 2026 — Computer PYQ
IGDTUW | Computer | 2026The output of a 2-input OR gate is 0 only when its
Choose the correct answer:
- A.
either input is 1
- B.
both inputs are 1
- C.
either input is 0
- D.
both inputs are 0
(Correct Answer)
both inputs are 0
Explanation
The correct option is (d) both inputs are 0.
Detailed Solution & Explanation
An OR gate performs a logical addition operation on its inputs. For a 2-input OR gate with inputs A and B, the output Y is expressed mathematically using the Boolean algebraic equation:
Y=A+B
Truth Table of a 2-Input OR Gate
The behavior of a standard 2-input OR gate under all possible input combinations is given below:
Input A | Input B | Output Y=A+B |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
Conclusion:
Looking closely at the truth table, the output Y becomes 0 (LOW) only and completely when both individual inputs A and B are equal to 0. If any of the inputs, or both inputs, are set to 1 (HIGH), the output stays 1.
Therefore, the condition for a 2-input OR gate to produce an output of 0 is when both inputs are 0.
