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:
1) Write sum truth table: 00→0, 01→1, 10→1, 11→0.2) Compare with XOR truth table: identical behavior.3) Therefore, the gate that outputs the bitwise sum is Ex-OR.4) Recognize carry is separate (AND), confirming XOR is specific to sum.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