Which logic gate outputs a binary 1 if and only if both of its input operands are binary 1?

Answer and explanation

Correct answer: C. AND gate

  1. Step 1: Elementary Boolean logic functions form the basis of all digital combinational circuitry in the arithmetic logic unit.
  2. Step 2: The truth table for the AND operation yields , while any combination involving a 0 operand produces an output of 0.
Answer
AND gate
Why not the others: 'OR gate' An OR gate outputs 1 if at least one of its inputs is 1, outputting 0 only when both inputs are 0; 'XOR gate' An XOR (exclusive OR) gate outputs 1 if inputs are strictly different (0 and 1), and 0 if both are 1 or both are 0; 'NAND gate' A NAND gate outputs 0 when both inputs are 1, and 1 for all other input combinations.

Practise more Computer Architecture and Hardware.

Free questions with an explanation for every one, and full timed General Knowledge mock tests.