(Lab 1) - Basic Logic Gates (AND, OR, and NOT Gates) Objectives

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

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/325663286

[Lab 1]. Basic logic Gates (AND, OR, and NOT gates) Objectives

Chapter · June 2018

CITATIONS READS

0 11,324

1 author:

Mohammed Qasim Taha


University of Anbar
30 PUBLICATIONS   22 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Solar Cell Fabrication View project

Computerized DSP Based Monitoring and Controlling of DC Motor View project

All content following this page was uploaded by Mohammed Qasim Taha on 12 April 2019.

The user has requested enhancement of the downloaded file.


Electronics lab Teaching Assistant: MOHAMMED QASIM TAHA

[Lab 1]. Basic logic Gates (AND, OR, and NOT gates)

Objectives
1- To study and understand the 3 basic gates.
2- Implement the basic gateV
3- The study the specifications of every gate when connected it with one input constant and the other is
variable.

AND and NAND gates

This gate gives high output (1) if all the inputs are 1’s. otherwise the output will be low (0).

Its Boolean algebra representation is: C=A.B


And it’s truth table and schema as following:

A B C
0 0 0
0 1 0
1 0 0
1 1 1
The NAND gate works opposite to the AND gate. Its Boolean algebra representation is: C=(A.B)’
And it’s truth table and schema as following:

A B C
0 0 1
0 1 1
1 0 1
1 1 0

OR and NOR gates

This circuit will give high output (1) if any input is high (1).

Its Boolean algebra representation is: C=A+B


and it’s truth table and schema as following:

Page 15 of 99
A B C
0 0 0
0 1 1
1 0 1
1 1 1
The NOR gate works opposite to the OR gate. Its Boolean algebra representation is: C=(A+B)’
And it’s truth table and schema as following:

A B C
0 0 1
0 1 0
1 0 0
1 1 0

NOT gate
This is the simplest gate it just inverts the input, if the input is high the output will be low and conversely.
So B=A’

A B
0 1
1 0

Lab Tasks

Task 1: The AND and NAND gates


In EWB, draw the following two circuits and fill the truth table below
A B A.B (A.B)’
0 0
0 1
1 0
1 1

Task 2: The AND-NOT combination


In EWB, draw the following circuit and fill the truth table
A B (A.B)’
0 0
0 1
1 0
1 1

Task 3: The OR and NOR gates


In EWB, draw the following two circuits and fill the truth table below

A B A+B (A+B)’
0 0
0 1
1 0
1 1
Task 4: The NOR-NOT combination

A B ((A+B)’)’
0 0
0 1
1 0
1 1

Task 5: Finding the truth table of a gate using the logic converter
The logic converter can be found in the Instruments toolbox. It can be used to derive a truth table from a
circuit schematic:
1. Attach the input terminals of the logic converter to up to eight input points in the circuit.
2. Connect the single output of the circuit to the output terminal on the logic converter icon.

The truth table for the circuit appears in the logic converter's display.
In the following circuit, we will be examining the AND gate. The two inputs of the gate are attached the A
and B inputs of the logic converter. The circuit output C is connected to Out line of the logic converter.

After clicking on the Truth Table button of the logic converter, the logic converter tries
all possible combinations of the circuit input and derives its truth table.

Task 6: Finding the truth table of a gate using the logic converter
Repeat what you did in task 5 for the NOR gate. Show your connections in the circuit below.
A B A+B (A+B)’
0 0
0 1
1 0
1 1
A B C D
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1

Task 7: Finding the truth table of a given circuit using the logic converter
Find the truth table of the following circuit:

A B C D F
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 0
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1

View publication stats

You might also like