Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Lab session 1: Introduction to logic gates and circuits

Objective

The objective of lab session 1 is


 To differentiate different type of gates
 To Know the relationship between the input and the output of each gates
 To know the graphical symbol, algebraic function and truth table for each gates
and to see each gates in a simulation software
 To design a simple circuit using the simulation software
Required Software

 Logic Gate Simulator software


o URL to download: https://sourceforge.net/projects/gatesim/ and
https://logic-gate-simulator.soft112.com/

Pre-lab Exercise

1. A NOT gate accepts two inputs


A. True B. False
2. The AND and OR gates produce opposite results for the same input
A. True B. False
3. A gate can be designed to accept more than two inputs.
A. True B. False
4. Produces a 1 only if all its inputs are 1 and a 0 otherwise
A A A A
X X X X
B B B B
A. B. C. D.
5. Produces a 1 if all its inputs are 0 and a 0 otherwise
A A A A
X X X X
B B B B
A. B. C. D.
6. Produces a 0 only of its inputs are the same and a 1 otherwise.
A A A A
X X X X
B B B B
A. B. C. D.

1|Page
7. Produces a 0 of all its inputs are all 1 and a 1 otherwise.
A A A A
X X X X
B B B B
A. B. C. D.
8. Determine the Boolean expression and construct a truth a table for the following
circuit diagrams

A A

B
B

C D

A A

B
B

C
C
D

9. Determine the Boolean expression and draw the logic diagram for the following
truth tables

A B AB A+B AB + (A+B) A B A’ AB A’  (AB)


0 0 0 0 0 0 0 1 0 1
0 1 0 1 1 0 1 1 0 1
1 0 0 1 1 1 0 0 0 0
1 1 1 1 1 1 1 0 1 1

In-lab Exercise

10. Basic gates circuit simulation: We will use these basic gates as building blocks for
more complex circuits. We will build our circuits using a logic gate. Open the
Logic Gate Simulator, design and see the result for the following basic gates
A. Not gate
B. AND gate with 3 inputs
C. OR gate with 4 inputs

2|Page
11. Use the simulator to construct the circuit for the logical statement (A and B) or
(not B or A).
12. Design a circuit diagram for the given Boolean Expressions
A. X= (A+B’)•(B+C’)•A
B. Z  (A B) ((C D)•B')

Post-lab Exercise

13. How do you make a NOR gate out of a NAND gate using inverters (NOT gates)?
14. How do you make an AND gate out of an OR gate using inverters (NOT gates)?
15. Write a wiring configurations for a NAND gate to be used as a NOT gate?
16. What type of logic gate's behavior does this truth table represent?

3|Page

You might also like