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
- Step 1: Elementary Boolean logic functions form the basis of all digital combinational circuitry in the arithmetic logic unit.
- 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.
More Computer Architecture and Hardware questions
- In the classical Von Neumann computer architecture, which component is responsible for coordinating and directing the operations of all othe…
- Which internal CPU register holds the memory address of the next sequential instruction waiting to be fetched and executed?
- What type of high-speed semiconductor memory is built directly into or adjacent to the CPU core using static flip-flops to minimize latency…
- What maximum physical RAM address space can theoretically be directly addressed by a computer architecture possessing a 32-bit address bus?
- Which memory technology stores each bit of data in a tiny integrated capacitor that gradually loses charge and therefore requires periodic d…
- What hardware mechanism enables high-speed peripheral devices like network cards and storage drives to transfer data directly to and from sy…