Lab-1 DLD
Lab-1 DLD
PRN- 20230802231
BATCH- B3
EXPERIMENT - 1
Aim:
Verification and interpretation of truth table for AND, OR, NOT, NAND, NOR, Ex-OR,
Ex-NOR gates.
Requirements:
Mention the software and hardware used for performing the practical.
Theory:
A logic gate is a device that acts as a building block for digital circuits. They perform basic
logical functions that are fundamental to digital circuits. Most electronic devices we use today
will have some form of logic gates in them.
Ex – NOT, OR , AND, NOR, NAND, EX-OR, EX-sNOR GATES
i. OR Gate
Description:
OR GATE Is a logic in which any input is high the output is high irrespective of other terminal.
TRUTH TABLE:
A B Y = A+B
0 0 0
0 1 1
1 0 1
1 1 1
Circuit Diagram:
TRUTH TABLE :
A B Y = A*B
0 0 0
0 1 0
1 0 0
1 1 1
Circuit Diagram:
Draw the circuit diagram/pin diagram for the AND Gate along with the specific IC used.
iii. NOT Gate
Description:
NOT GATE inverse the value of Input.
TRUTH TABLE:
A A’
1 0
0 1
Circuit Diagram:
Draw the circuit diagram/pin diagram for the NOT Gate along with the specific IC used.
iv. NAND Gate
Description:
NAND is a logic in which any input is low and the output is high irrespective of other terminals.
TRUTH TABLE:
A B Y = A’B’
0 1 1
0 1 1
1 1 1
1 0 0
Circuit Diagram:
Draw the circuit diagram/pin diagram for the NAND Gate along with the specific IC used.
v. NOR Gate
Description:
NOR is a logic in which any input is high then the output is low irrespective of other terminals.
TRUTH TABLE:
A B Y = A’+B’
0 0 1
0 1 0
1 0 0
1 1 0
Circuit Diagram:
Draw the circuit diagram/pin diagram for the NOR Gate along with the specific IC used.
vi. EX-OR Gate
Description:
The Exclusive-OR gate or XOR gate is achieved by combining standard logic gates together.
XOR gate is used extensively in error detection circuits, computational logic comparators and
arithmetic logic circuits. The Exclusive OR gate gives an output only if its two inputs are
dissimilar, namely if one of them is high (one) and the other is low (zero)
TRUTH TABLE:
A B Y
0 0 0
0 1 1
1 0 1
1 1 0
Circuit Diagram:
Draw the circuit diagram/pin diagram for the EX-OR Gate along with the specific IC used.
TRUTH TABLE:
A B Y
0 0 1
0 1 0
1 0 0
1 1 1
Circuit Diagram:
Draw the circuit diagram/pin diagram for the EX-NOR Gate along with the specific IC used.
Observation Table:
Sr. Input Input Output Output Output Output Output Output Output
No. (A) (B) (NOT) (AND) (OR) (NAND) (NOR) (EX-OR) (EX-NOR)
Y = A’ Y=AB Y=A+B Y= (AB)’ Y= A+B Y=A B Y=(A B)’
1 0 0 1 0 0 1 1 0 1
2 0 1 1 0 1 1 0 1 0
3 1 0 0 0 1 1 0 1 0
4 1 1 0 1 1 0 0 0 1
Conclusion: Any Boolean expression can be realized using NOT, AND, OR, NAND, NOR,
EXOR, EX-NOR gates.