Boolean Algebra
Boolean Algebra
Boolean Algebra
Truth table
• Negation –
1. Commutative law - Any binary
operation which satisfies the
following expression is referred to
as commutative operation
• OR operator → A + B = B + A
• AND operator → A * B = B * A
• Commutative law states that
changing the sequence of the
variables does not have any effect
on the output of a logic circuit.
2. Associative law - Associative Law of
multiplication states that the AND
operation are done on two or more
than two variables.
• For example:
A * (B * C) = (A * B) * C or
(A+B)+C = A+(B+C)
3. The Distributive Law says
that multiplying a number by a
group of numbers added together is
the same as doing each
multiplication separately.
• Example:
• 3 × (2 + 4) = 3×2 + 3×4
A B A.B B.A
0 0 0 0
0 1 0 0
1 0 0 0
1 1 1 1
Logic Gates
(AB)’
NOR GATE
• The NOT-OR (NOR) gate which is
equal to an OR gate followed by a
NOT gate. The NOR gate gives a
low output if any of the inputs
are high.
Exclusive-OR/ XOR GATE: