Project On Logic Gates
Project On Logic Gates
i) OR gate
ii) AND gate
iii) NOT gate
The OR gate is a two inputs and one output logic gate. It combines the input A and B with the output Y
Y=A+B
The Boolean algebra
algebra, the addition symbol (+) is called OR (i.e. OR operation OR operator).
The various possible combinations of the input and output of the OR gate can be easily understand with the
help of the electrical circuit. In this electric circuit, a parallel combination of two switches A and B is
The following interference can be easily drawn from the working of electrical circuit is :
The AND Gate is also a two inputs and one output logic gate. It combines the input A and B with the output
Y = A.B
The Boolean algebra, the multiplication symbol (.dot or x Gross) is taken to mean AND. Y = A. B means Y
is equal to A AND B.
The various possible combination of the input and outputs of the AND gate can be easily found with the
help of the electrical circuit. Here a series combination of the switch A and B is connected to a battery and a
lump L.
The following conclusions can be easily drawn from the working of electrical circuit:
a) If both switches A&B are open (A=0, B=0) then lamp will not glow. (y=0)
b) If Switch A closed & B open (A=1, B=0) then Lamp will not glow. (y=0)
c) If switch A open & B closed (A=0, B=1) then Lamp will not glow. (y=0)
d) If switch A & B both closed (A=1, B=1) then Lamp will glow. (y=1)
The NOT gate is a one inputs and one output logic gate. It combines the input A with the output following
the Boolean expression.
Y = A
This means Y not equal A. The way, the NOT gate gives the output it is also called inverter. It is
The Boolean algebra, the negative sign (-) is called NOT. The equation Y= A called Boolean expression.
The possible input and output combination of a NOT gate can be easily discussed with the help of electrical
circuit. Here, the switch is connected in parallel to the lump of the battery. The following conclusion can be
a) If switch A is open (i.e. A=0), the lump will glow (i.e. Y=1)
b) If Switch A is closed (i.e. A=1), the lump will not glow (Y=0).
It follows that in the given electrical circuit, the lump glows (or output is obtained), when the switch A is not
closed. For this reason, the electrical circuit is called not gate. The two possible input-output combinations
can be written in the form of the table. It is called truth table of NOT gate.