# Infographics : Digital Logic Gates

A logic gate is a basic building block of a digital circuit, which is used to implement a Boolean function. It executes a logic operation on one or more logic inputs and generates a single logic output. Logic gates are mostly implemented using electronic switches like diodes or transistors, but can also be built using electromagnetic relays, vacuum tubes, fluidic logic, optics, molecules, pneumatic logic, etc.

In computers or control units, a large number of electronic circuits are made up of logic gates. These processed signals are denoted by T (True) or F (False). Logic gates are mainly used in some devices like microprocessors, embedded systems, microcontrollers, registers, ALUs, MUX, and also in computer memory; there are more than 100 million gates especially in microprocessors. But, in practice, most of the logic gates are made with CMOS technology, FETS, and MOSFET.

The basic logic gates are classified into seven types: AND gate, OR gate, XOR gate, NAND gate, NOR gate, XNOR gate, and NOT gate. The truth table is used to show the logic gate function. All the logic gates have two inputs except the NOT gate, which has only one input. When drawing a truth table, the binary values 0 and 1 are used. Every possible combination depends on the number of inputs. If you don’t know about the logic gates and their truth tables and need guidance on them, please go through the following infographic that gives an overview of logic gates with their symbols and truth tables.

## Digital Logic Gates

What is a Logic Gate?

A logic gate is a basic building block of a circuit used to make a large number of electronic circuits.

Types of Logic Gates

Different types of logic gates include AND, OR, NOT, NAND, NOR, EX-OR, EX-NOR

AND Gate

When both the inputs are high, then the output is high, otherwise, the output is low.

OR Gate

If any of the input is high, then the output is high.

NOR Gate

If both the inputs are low, then the output is high, otherwise low.

NAND Gate

If both the inputs are high, then the output is low, otherwise high.

EX-OR Gate

If both the inputs are high or low, then the output is low, otherwise high.

EX-NOR Gate

If both the inputs are high or low, then the output is high, otherwise low.

NOT Gate

The output is inversely proportional to the input. 1. Arun Sengupta says:

Pretty nice and very helpful 🙂
I wish I had this option when I was in school or engineering 😛
But great job guys 🙂

1. Tarun Agarwal says:

Hi Arun
We really appreciate you taking the time out to share your experience with us

2. virendra says:

very useful article