Half Adder
A Half Adder is a basic digital circuit used in electronics to perform the addition of two single binary digits. It has two inputs, typically labeled as A and B, and produces two outputs: the Sum and the Carry. The Sum output represents the result of the addition, while the Carry output indicates if there is an overflow when both inputs are 1.
The logic behind a Half Adder can be implemented using simple logic gates. The Sum is calculated using an XOR gate, which outputs true if only one of the inputs is true. The Carry is determined using an AND gate, which outputs true only when both inputs are true.