If A and B are the inputs of a half adder, then the sum is given by __________
⚑ Report issue
Found a wrong answer, translation, image or source problem? Send it to editorial review.
Sign in to submit a reportFound a wrong answer, translation, image or source problem? Send it to editorial review.
Sign in to submit a reportA half adder adds two single-bit inputs. Its Sum output is 1 only when A and B are different, which is exactly the XOR truth table; the Carry output is A·B.

Half adder: XOR for Sum, AND for Carry.
Selecting OR for Sum; OR fails for A=B=1 because the correct sum bit is 0 with carry 1.
Memorize the pair together; exam distractors often swap Sum and Carry.