Verification of logic gates and universal gates
To verify the truth tables of AND, OR, NOT, NAND, NOR, XOR and XNOR gates, and build other gates from NAND alone.
Theory
A logic gate gives an output that depends only on its present inputs. NAND and NOR are universal gates: any logic function can be built from either one alone. For example, NOT A = A NAND A, and A AND B = (A NAND B) NAND (A NAND B).
Apparatus
- ICs 7408, 7432, 7404, 7400, 7402, 7486
- Digital trainer kit or breadboard with 5 V supply
- LEDs with 330 Ω resistors
- Switches
Circuit connections
- Pin 14 to +5 V, pin 7 to ground on each 14-pin IC
- Inputs from switches; outputs to LEDs through 330 Ω
Procedure
Pre-lab check
4 questions · 75% to be readyTry the readings before the lab
| A | B | AND | OR | NAND | NOR | XOR | XNOR | NOT A |
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 |
Precautions
- Check the IC's pin diagram and notch before inserting.
- Never leave TTL inputs floating; they behave as HIGH.
My readings
Type what you measured. It goes into your record book, and to My Garage when you are signed in.
| S. No. | A | B | AND | OR | NAND | NOR | XOR | XNOR | NOT A |
|---|---|---|---|---|---|---|---|---|---|
| 1 | |||||||||
| 2 | |||||||||
| 3 | |||||||||
| 4 | |||||||||
| 5 | |||||||||
| 6 |
Check my readings
Put the value you set in the first column, then compare. Real parts have tolerance.
Your lab record
Everything above is free. The print-ready write-up comes with Maker.
Printed pages leave the observation table empty for your own readings.
Viva practice
Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 4.
Quick answers for your record and viva
What is the aim of the verification of logic gates and universal gates experiment?
To verify the truth tables of AND, OR, NOT, NAND, NOR, XOR and XNOR gates, and build other gates from NAND alone.
What apparatus is needed for verification of logic gates and universal gates?
ICs 7408, 7432, 7404, 7400, 7402, 7486, Digital trainer kit or breadboard with 5 V supply, LEDs with 330 Ω resistors, Switches.
What is the theory behind verification of logic gates and universal gates?
A logic gate gives an output that depends only on its present inputs. NAND and NOR are universal gates: any logic function can be built from either one alone. For example, NOT A = A NAND A, and A AND B = (A NAND B) NAND (A NAND B).
What result should I get in verification of logic gates and universal gates?
The truth tables of all the gates are verified. NOT, AND and OR were built from NAND gates alone.
What precautions should I take in verification of logic gates and universal gates?
Check the IC's pin diagram and notch before inserting. Never leave TTL inputs floating; they behave as HIGH.
