Introduction to Boolean Algebra
Introduction to Boolean Algebra
Logic Gates
Electronics use complex circuits and switching arrangements. Electronic
devices control the flow of electrical pulses which represent the binary
digits (bits) 0 and 1. The switches for electronic pulses are logic gates.
NOT Gate
A NOT gate reverses the electronic pulse. It has the symbol.
A A’
1 0
0 1
AND Gate
An AND gate produces an output that is denoted by A.B. You can only get
an output of 1if A AND B are both 1.
1
AND GATE Truth Table
OR Gate
An OR gate produces an output that is denoted by A+B. This gate
produces an output of 1 if A or B are 1.
Example
Label the following logic gate A’ + B. Then, draw a truth table.
A
A’ + B
B
2
A A’ B A’ + B
1 0 1 1
1 0 0 0
0 1 1 1
0 1 0 1
Exercise
1. Write a Boolean expression for the following circuits. Then, create the
truth table.
(i)
(ii)
(iii)
(iv)
(v)
3
(vi)
(vii)
(vi)