BOOLEANLOGIC_NOTES&ASSGN (1)
BOOLEANLOGIC_NOTES&ASSGN (1)
Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND,
NOR, EXOR /XOR and EXNOR/XNOR gates.
Logic gates are electronic circuits with one or more inputs but only one output
The NOT gate is an electronic circuit that produces an inverted version of the input at its output. It is also
known as an inverter. If the input variable is A, the inverted output is known as NOT A. This is also shown
as A', or A with a bar over the top,
OR Gate
The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are high. A plus
(+) is used to show the OR operation.
AND Gate
The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high. A dot (.) is
used to show the AND operation i.e. A.B. Bear in mind that this dot is sometimes omitted i.e. AB
NAND Gate
this is a NOT-AND gate which is equal to an AND gate followed by a NOT gate. The outputs of all NAND
gates are high if any of the inputs are low. The symbol is an AND gate with a small circle on the output. The
small circle represents inversion.
NOR Gate
This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate. The outputs of all NOR gates are
low if any of the inputs are high.
The symbol is an OR gate with a small circle on the output. The small circle represents inversion.
The 'Exclusive-OR' gate is a circuit which will give a high output if either, but not both, of its two inputs are
high. An encircled plus sign () is used to show the EXOR operation.
EXNOR Gate
The 'Exclusive-NOR' gate circuit does the opposite to the EXOR gate. It will give a low output if either, but
not both, of its two inputs are high. The symbol is an EXOR gate with a small circle on the output. The small
circle represents inversion.
SUMMARY
DeMorgans Theorem
Algebraic proof -
Let P = A+ B
0 1 1 0
1 0 1 0
2. (AB).(AB)'=0
Assignment Questions -
1. Draw (AND,OR) logic gates for 2,3,4 inputs with their symbols and Truth Table.
i) F(A,B,C,D)=AB'+C'D
II) F(A,B,C,D)=(A+B+C).D'
III) F(A,B,C)=A'+(BC + A)
V) F(A,B,C,D)= (A'+B+C)(C+D)'
I) A.(A+B) = A
II) X(Y+Z)=XY+XZ
i)
ii)
iii)
iv)
*******************************