Boolean Algebra Assigment
Boolean Algebra Assigment
Simplify representation
Manipulation of propositional logic
Logical Addition:
Symbol ‘+’ also known as ‘OR’ operator used for logical addition
Logical multiplication:
Symbol ‘.’ also known as ‘AND’ operator used for logical multiplication
Complementation:
Symbol ‘-’also known as ‘NOT’ operator used for complementation
Operator precedence:
Each operator has a precedence level
Higher the operator’s precedence level ,earlier it is evaluated
Expression is scanned from left to right
First expression enclosed with in parenthesis are evaluated
Then , all complement (NOT) operation are performed
Then all ‘.’(AND) operation are performed
Finally all operation ‘+’(OR) operation are performed
1
Boolean algebra laws:
Commutative law
Associative law
Distributive law
Annulment law
Identity law
Idempotent law
Complement law
Commutative law:
It states that the interchanging of the order of operands in a Boolean equation does not
change result
FOR EXAMPLE:
OR operator A+B=B+A
AND operator A*B=B*A
Associative law:
It states that the AND operation are done on two or more than two variables
FOR EXAMPLE:
A*(B*C) = (A*B)*C
Distributive law:
It states that the multiplication of two variables and adding result with a variable will
Result in the same values as multiplication of addition of the variables
FOR EXAMPLE:
A+BC-(A+B) (A+C)
Annulment law:
A.0= 0
A+1=1
Identity law :
A.1=A
A+0=A
Idempotent law:
A+A=A
A.A=A
2
Boolean function:
A Boolean function is an expression formed with:
Binary variables
X Y Z W
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
The number of rows in the tables is equal to 2n where n is the number of literals in the
function
The combination of 0s and 1s for rows of this tables are obtained from the binary
number by counting from 0 to 2n -1
3
X Y Z F1 F2
0 0 0 0 0
0 0 1 1 1
0 1 0 0 0
0 1 1 1 1
1 0 0 1 1
1 0 1 1 1
1 1 0 0 0
1 1 1 0 0
4
Logic gates:
Logic gates are electronic circuits that operates on one or more inputs
signals to produce standard output signal
Some of the most basic and useful logic gates are AND ,OR, NAND
And NOR gates
5
AND GATE:
Physical realization of logical multiplication (AND) operation
Truth table:
inputs outputs
A B C= A.B
0 0 0
0 1 0
1 0 0
1 1 1
6
OR GATE:
Physical realization of logical addition (OR) operation
Truth table:
Inputs Outputs
A B C=A+B
0 0 0
0 1 1
1 0 1
1 1 1
7
NOT GATE:
Physical realization of complementation operation
Truth table:
input output
A -
0 1
1 0
8
NAND GATE:
Complemented AND gate
Truth table:
Inputs outputs
A B C=A+B
0 0 1
0 1 1
1 0 1
1 1 0
9
NOR GATE:
Complemented OR gate
TABLE:
INPUTS OUTPUTS
A B C=A.B
0 0 1
0 1 0
1 0 0
1 1 0
10
Logic gates:
When logic gates are interconnected to form a gating / logic network it is known as
combinational logic circuit
The Boolean algebra expression for a given logic circuit can be derived by systematically
progressing from input to output on the gates
The three logic gates (AND, OR and NOT) are logically complete because any Boolean
expression can be realized as logic circuit using only these three gates
11