TOPIC: TYPES OF GATES AND ITS APPL ICATIONS
L ogic gates are the fundamental building blocks of digital circuits. They perform basic
logical functions that are essential to digital electronics. L ogic gates process binary inputs
(0 s and 1 s) and produce a single output based on the logic operation they perform. Each
gate follows a unique logical relationship between its input and output. The main types of
gates include AND, OR, NOT, NAND, NOR, XOR, and XNOR.
1 . AND Gate:
An AND gate gives a HIGH (1 ) output only when all its inputs are HIGH. It performs the
logical multiplication operation.
A B Output
(A.B)
0 0 0
0 1 0
1 0 0
1 1 1
A B Output
(A.B)'
0 0 1
2 . OR Gate: 0 1 1
An OR gate gives a HIGH (1 ) output if any one or more of its
inputs are HIGH. 1 0 1
It performs logical addition.
A B Output
(A+B)
0 0 0
0 1 1
1 0 1
1 1 1
3 . NOT Gate:
A NOT gate, also called an inverter, produces the complement of its input. If the input is
HIGH (1 ), the output is L OW (0 ), and vice versa.
A Output
(!A)
0 1
1 0
4 . NAND Gate:
A NAND gate is the complement of an AND gate. It gives a L OW (0 ) output only when all
inputs are HIGH. It performs NOT-AND operation.
1 1 0
5 . NOR Gate:
A NOR gate is the complement of an OR gate. It gives a HIGH (1 ) output only when all
inputs are L OW (0 ).
A B Output
(A+B)'
0 0 1
0 1 0
1 0 0
1 1 0
6 . XOR Gate:
An XOR gate (Exclusive-OR) gives a HIGH (1 ) output only when the number of HIGH
inputs is odd. For two inputs, it gives a HIGH output if exactly one input is HIGH.
A B Output
(A⊕B)
0 0 0
0 1 1
1 0 1
1 1 0
7 . XNOR Gate:
An XNOR gate (Exclusive-NOR) gives a HIGH (1 ) output only when both inputs are the
same.
A B Output
(A⊕B)'
0 0 1
0 1 0
1 0 0
1 1 1
Applications of L ogic Gates:
1 . Used in arithmetic circuits such as adders and subtractors.
2 . Used in multiplexers, demultiplexers, and encoders.
3 . Used in memory and storage circuits like flip-flops.
4 . Used in control circuits and microprocessors.
5 . Used in digital communication and automation systems.