Verification and Interpretation of Truth Table For AND, OR, NOT, NAND, NOR, Ex-OR, Ex-NOR Gates

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Verification and interpretation of truth table for AND,

OR, NOT, NAND, NOR, Ex-OR, Ex-NOR gates.

Aim: To verify and interpret the logic and truth table for AND, OR,
NOT, NAND, NOR, Ex-OR, Ex-NOR gates using DTL (Diode
Transistor Logic) logics and verify the truth table for AND, OR,
NOT, NAND, NOR, Ex-OR, Ex-NOR gates in simulator 2.

Theory : Logic gates are the basic building blocks of any digital system.
Logic gates are electronic circuits having one or more than one input and
only one output. The relationship between the input and the output is
based on a certain logic. Based on this, logic gates are named as

1. AND gate
2. OR gate
3. NOT gate
4. NAND gate
5. NOR gate
6. Ex-OR gate
7. Ex-NOR gate

1) AND gate

The AND gate is an electronic circuit that gives a high output (1) only if
all its inputs are high. A dot (.) is used to show the AND operation i.e.
A.B or can be written as AB
Y= A.B

Figure-1:Logic Symbol of AND Gate

Figure-2:Truth Table of AND Gate

2) OR gate

The OR gate is an electronic circuit that gives a high output (1) if one or
more of its inputs are high. A plus (+) is used to show the OR operation.

Y= A+B
Figure-4:Logic Symbol of OR Gate

Figure-5:Truth Table of OR Gate

3) NOT gate
The NOT gate is an electronic circuit that produces an inverted version
of the input at its output. It is also known as an inverter. If the input
variable is A, the inverted output is known as NOT A. This is also shown
as A' or A with a bar over the top, as shown at the outputs.

Y= A'

Figure-7:Logic Symbol of NOT Gate


Figure-8:Truth Table of NOT Gate

4) NAND gate
This is a NOT-AND gate which is equal to an AND gate followed by a
NOT gate. The outputs of all NAND gates are high if any of the inputs
are low. The symbol is an AND gate with a small circle on the output.
The small circle represents inversion.

Y= AB

Figure-10:Logic Symbol of NAND Gate


Figure-11:Truth Table of NAND Gate

5) NOR gate

This is a NOT-OR gate which is equal to an OR gate followed by a NOT


gate. The outputs of all NOR gates are low if any of the inputs are high.
The symbol is an OR gate with a small circle on the output. The small
circle represents inversion.

Y= A+B

Figure-13:Logic Symbol of NOR gate


Figure-14:Truth Table of NOR gate

6) Ex-OR gate

The 'Exclusive-OR' gate is a circuit which will give a high output if either,
but not both of its two inputs are high. An encircled plus sign (⊕) is used
to show the Ex-OR operation.

Y= A⊕B

Figure-16:Logic Symbol of Ex-OR gate


Figure-17:Truth Table of Ex-OR gate

7) Ex-NOR gate

The 'Exclusive-NOR' gate circuit does the opposite to the EX-OR gate. It
will give a low output if either, but not both of its two inputs are high. The
symbol is an EX-OR gate with a small circle on the output. The small
circle represents inversion.

Y= A⊕B

Figure-19:Logic Symbol of Ex-NOR gate


Figure-20:Truth Table of Ex-NOR gate

Ex-NOR gate is created from AND, NOT and OR gates.The output is


high only when both the inputs are same.

Procedure :

1)AND Gate

Step-1) Enter the Boolean input "A" and "B".


Step-2) Enter the Boolean output for your corresponding inputs.
Step-3) Click on "Check" Button to verify your output.
Step-4) Click "Print" if you want to get print out of Truth Table.

2)OR Gate

Step-1) Enter the Boolean input "A" and "B".


Step-2) Enter the Boolean output for your corresponding inputs.
Step-3) Click on "Check" Button to verify your output.
Step-4) Click "Print" if you want to get print out of Truth Table.

3)NOT gate

Step-1) Enter the Boolean input "A".


Step-2) Enter the Boolean output for your corresponding input.
Step-3) Click on "Check" Button to verify your output.
Step-4) Click "Print" if you want to get print out of Truth Table.

4)NAND gate

Step-1) Enter the Boolean input "A" and "B".


Step-2) Enter the Boolean output for your corresponding inputs.
Step-3) Click on "Check" Button to verify your output.
Step-4) Click "Print" if you want to get print out of Truth Table.

5)NOR gate

Step-1) Enter the Boolean input "A" and "B".


Step-2) Enter the Boolean output for your corresponding inputs.
Step-3) Click on "Check" Button to verify your output.
Step-4) Click "Print" if you want to get print out of Truth Table.

6)Ex-OR gate

Step-1) Enter the Boolean input "A" and "B".


Step-2) Enter the Boolean output for your corresponding inputs.
Step-3) Click on "Check" Button to verify your output.
Step-4) Click "Print" if you want to get print out of Truth Table

7)Ex-NOR gate

Step-1) Enter the Boolean input "A" and "B".


Step-2) Enter the Boolean output for your corresponding inputs.
Step-3) Click on "Check" Button to verify your output.
Step-4) Click "Print" if you want to get print out of Truth Table.
Observation Table:
Write truth Table (for each gate) (https://de-iitr.vlabs.ac.in/exp/truth-
table-gates/simulation.html)

You might also like