Difficulty: Easy
Correct Answer: Ex-OR
Explanation:
Introduction / Context:
Binary addition of two single bits (A and B) produces a sum and a carry. In half adders and full adders, distinct logic functions generate these outputs. Knowing which gate corresponds to the sum output is a foundational digital design skill.
Given Data / Assumptions:
Concept / Approach:
The truth table for the binary sum without carry is: A B → Sum: 00→0, 01→1, 10→1, 11→0. This exactly matches the Exclusive-OR (XOR, written Ex-OR) function. The carry-out for a half adder is A * B (AND), but that is not requested here.
Step-by-Step Solution:
Verification / Alternative check:
Construct a half adder: Sum = A XOR B, Carry = A AND B. Simulation or logic-equation derivation yields the same mapping.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing the roles of XOR and AND in a half adder; remember XOR is for sum, AND for carry.
Final Answer:
Ex-OR
Discussion & Comments