Logic circuits
When is the output of a 2-input AND gate 1?
- AWhen both inputs are 1
- BWhen both inputs are 0
- CWhen either one of the inputs is 1
Show answer and explanation
Answer: A. When both inputs are 1
An AND gate (logical product) outputs 1 only when all inputs are 1, and 0 otherwise. A gate that outputs 1 when at least one input is 1 is an OR gate.
- A. Correct. AND outputs 1 only when all inputs are 1.
- B. Outputting 1 when both inputs are 0 is the NOR gate.
- C. Outputting 1 when only one input is 1 is the OR gate.