Practical 1
Practical 1
Practical-1
. Study of Logic Gates: Truth-table verification of OR, AND, NOT, XOR, NAND and NOR
gates; Realization of OR, AND, NOT and XOR functions using universal gates.
• Logic gate founds its uses in our day to day basis such as in the architecture of our
AND GATE
The Output state of the AND gate will be high(1) if both the input are high(1) ,
else the output state will be low(0) if any of the input is low(0).
The Boolean Expression or logic for the AND gate is the logical multiplication
A.B=X
The value of X will be True when both the inputs will be True.
Programme Name B.C.A
Semester
II Sem Subject-Digital Electronics
Subject Lab
2. OR Gate
• OR GATE is most widely used digital logic circuit.
• The output state of OR gate will be high i.e.,(1) if any
of the input state is high or 1, else output state will be low
i.e., 0.
• The Boolean Expression for the OR gate is the logical
• addition of inputs denoted by plus sign(+) as
•Y=A+B
•The value of X will be high(true) when one of the inputs is set
to high (true).
Programme
Programme Name
Name B.C.A IISemester
Sem Subject Subject-Digital Electronics Lab
3. NOT Gate
In digital electronics, the NOT gate is one of the basic logic gate
having only a single input and a single output.
Y=A’ or Y=
The NOR gate is the type of universal logic gate. It takes two or
more inputs and gives only one output. The output state of the
NOR gate will be high(1) when all the inputs are low(0). NOR gate
combination of two basic logic gates i.e., OR gate and NOT gate.
O = (A + B)’
The value of O will be true when all of its inputs are set to 0.
gates AND gate and the NOT gate connected in series. It takes
two or more inputs and gives only one output. The output of
the NAND gate will give result high(1) when either of its input is
Say we have two inputs, A and B and the output is called X, then
the expression is
X = (A . B)’
Programme Name B.C.A
Semester
II Sem Subject-Digital Electronics
Subject Lab
6. XOR Gate
In digital electronics, there is a specially designed logic gate named,
detection circuits. The XOR gate can take only two inputs at a time
and give an output. The output of the XOR gate is high(1) only when
its two inputs are dissimilar i.e., if one of them is low(0) then other
Say we have two inputs, A and B and the output is called X, then the
A’B + AB’
Programme Name B.C.A
Semester
II Sem Subject-Digital Electronics
Subject Lab
7. XNOR Gate
The XNOR is the combination of XOR gate and NOT gate. The output of
the XNOR gate is high(1) when both the inputs are high(1) or low(0). In
other words, the output of the XNOR gate is high(1) when both the
inputs are the same. the XNOR gate can be sometimes be called as
Y=A⊙B
Here, A and B are the input variables and Y is the output variable.
Y = AB + A’B’
Programme
Name B.C.A
Semester
II Sem Subject-Digital Electronics
Subject Lab
Application of Logic Gates
Logic gates are the fundamental building blocks of all digital circuits and
devices like computers. Here are some key digital devices in which logic
Computers
Microprocessors
Microcontrollers
Smartphones, etc.
only when both of the inputs are HIGH will the output
be HIGH.
gates are the NOR gates. The inputs are then passed