Digital Logic Operations
Digital logic has three types of operations: AND, OR, and NOT.
These are the three essential operations, and almost everything our computer does is based on it.
AND
The mathematical symbol for AND expression is A.B. The value of an AND operation is 0, but if both the inputs are 1, the value will be 1.
OR
The mathematical symbol for OR expression is A+B. The value is 1, until and unless both the inputs are 0, then the value for the OR expression will be 0.
NOT
NOT is a unary operation, meaning it requires only single input. The symbol for NOT is A’, and the value of NOT is the opposite of the input value.
NAND and NOR
The AND, OR, and NOT operations combined together give the NAND and NOR expressions.
A NAND is the inverted output of the AND gate, and the NOR is the inverted output of the OR gate.
XOR and XNOR
XOR and XNOR are the exclusive OR and the exclusive NOR operators.
Reference