Boolean Logic & Logic Circuit
Boolean Logic & Logic Circuit
Objectives
• Introduction to Boolean
Logic
• Truth Table
• Logic gates.
• Logic circuits
Introduction to Boolean Logic
Everyday we have to make logical decision:
• Should I carry the book or not?
• Should I use the calculator or not
• Should I miss TV programme or not
Each of thee questions requires a YES or NO answer
as there are only one possible answers.
Therefore each of the above mentioned is a Binary
decision.
1st and 2nd sentences are TRUE but 3rd is FALSE , 4th and 5th are
question which can not be answered in TRUE or FALSE.
The variable which can store these truth values are called
logical variables.
What is Truth Table
II.OR
III.NOT
AND Operation
Input Output
_
A A
0 1
1 0
0 0 0 1 1 1 1
0 1 0 1 1 0 1
1 0 0 1 0 1 1
1 1 1 0 0 0 0
(X+Y)' = X' . Y'
0 0 0 1 1 1 1
0 1 1 0 1 0 0
1 0 1 0 0 1 0
1 1 1 0 0 0 0
Distributive Law
1.X(Y+Z)=XY+XZ
2.X+YZ=(X+Y)(X+Z)
1.X(Y+Z)=XY+XZ
X Y Z Y+Z XY XZ X(Y+Z) XY+XZ
0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 1 0 0 0 0
0 1 1 1 0 0 0 0
1 0 0 0 0 0 0 0
1 0 1 1 0 1 1 1
1 1 0 1 1 0 1 1
1 1 1 1 1 1 1 1
Both the columns X(Y+Z) and XY+XZ are identical,
hence it is proved.
2. X+YZ=(X+Y)(X+Z)
X Y Z YZ X+YZ X+Y X+Z (X+Y)(X+Z)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Logic Gate
Computer carries out all operations by the
combination of signals that pass through standard
blocks of built-in circuits.
AND
OR
NOT
AND Gate
X X+Y
Y
Z.(X+Y)
Z
Z
UV' + U'W'
Conclusion