Logic circuits

When is the output of a 2-input AND gate 1?

  1. AWhen both inputs are 1
  2. BWhen both inputs are 0
  3. 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.
Practice this topic Back to topic

More Logic circuits questions

  1. When is the output of a 2-input OR gate 0?
  2. Which correctly describes what a NOT gate (inverter) does?
  3. Which is the decimal number 13 in binary?
  4. How many rows does the truth table of a 3-input logic circuit have?
  5. How many bits are in one byte?