CS Notes 3 School
CS Notes 3 School
CS Notes 3 School
2.0R Operator -lt is abinary operator and denotes logical Addition operation
and is represented by"M4" symbol
3. AND Operator - AND Operator perforn1s logical multiplications and symbol is
9 dot.
1. NOT gate : This gate lakes one input and gives a single output. The symbol of
this logic gate is
YX
2. OR gate : The OR gate has two or more input signals but only one oupu
signal if any of the input signal is I(high) the output signal is 1(high).
Truth Table and circuit diagram for Two Input OR gate is i
X Y
0 0 0
1 D
AND gate The AND gate have two or more than two input signals and
produce an outpüt signal. When all the inputs are 1(High) then the
output is 1otherwise output is 0 only.
Truth Table and circuit diagram for two input AND gate is :
X F=X.Y
0 0
1
-Z=XY
Truth table: Truth table is a table, which represents all the possible values of logical
variables/statements along with all the possible results of given combinations of
values.
Basic Theorems of Boolean Algebra :
1 Properties of 0 and 1
R
R
0 )
0 1
1X R 1 X R
1 0
0
2 Indempotence Law
This law states hat
X
X
(X)=X i.e.,
0 1
4
Complemenlarity Low
These laws state that
(a) 1 - t X
(gate represcntation ef (9)
and ()0
AND XX=0 (çate representation of (b)
.5 Commutative Law
These laws state that
OR OR R AND AND
R
6 Associotivo Law
Thesc laws state that
(a)X02N2
Le.
X
OR R
R OR
)OR
Y+Z
(0) X2(0D2
AND
AND Ry AND
AND
YZ
)
.7 Distributive Low
This law states that
(a) X(Y Z)
XY XZ
X AND XY
AND R R
) OR Yz XZ
AND
Both the columns X(Y+ Z) and XY+ YZ are identical, hence proved.
-X(1+Z)+ YZ
=X1+ YZ
(1+Z=lproperty of 0and 1)
-X+ YZ (X.1=X property of 0 and 1)
-L.H.S.
Hence proved
8 Absorplion Low
Avnting lo this lasw
(a) N ) 1
Proof
LH.S.=X+ XY
(b) X(X + Y)=X
(a) X+XY=X
- X(1+ Y) LHS. =X(X+ Y) =X. X+ XY
-X.X+XY
Putting 1+Y=l
(ref i =X+ XY
X.1=X-RH.S, (X.X N: Indenmpotence Lao)
=X(1+ Y)
-X.1
(using 1+Y=lproperties of 0, 1)
-X
(X.1=X using property of 0, 1)
-R.H.S Hence proved.
1.
Praerties of 0 0-X: 0..N=0
Booleon Algebro Rules 2 Propertios of 1 +=1:
3 Indempotenec laa
Inzdutim
5.
Comylemestarity Lates .0
6 Conmutalise laue .=.
9. Absortin lat
10, Otlher
(3rd distributice laze)