Logic circuits

When is the output of a two-input NAND gate 0?

  1. AWhen both inputs are 1
  2. BWhen at least one input is 0
  3. CWhen both inputs are 0
Show answer and explanation

Answer: A. When both inputs are 1

NAND is the negation of AND. AND outputs 1 only when all inputs are 1, so NAND outputs 0 only when all inputs are 1. For every other combination, the output is 1.

Practice this topic Back to topic

More Logic circuits questions

  1. According to De Morgan's laws, which expression is equal to NOT(A AND B)?
  2. Which correctly describes the operation of a D flip-flop?
  3. When is the output of a two-input XOR (exclusive OR) gate 1?
  4. What is the binary number 1011 in decimal?
  5. Which correctly describes a sequential circuit?