⟩ Give the truth table for a Half Adder. Give a gate level implementation of the same.
TRUTH TABLE FOR HALF ADDER:
A B SUM CARRY
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
IMPLEMENTATION:
For SUM, The two inputs A and B are given to XOR gate.
For Carry, The two inputs A and B are given to AND gate.