Unit 1 - Lesson 2 - Logic Gates
Unit 1 - Lesson 2 - Logic Gates
We learning today:
• What are logic circuits?
A switch is on =1 True
A switch is off = 0 False
You need to know:
The symbols and behaviors of THREE Different logic gates:
• AND
• NOT
• OR
• NAND
• NOR
• XOR
AND Gate
The output is 1, if both the inputs are 1
Input A = 1
Input B = 1 Output X = 1
0 0 0
0 1 0
1 0 0
1 1 1
AND Gate
Complete the Truth Table for the AND GATE
0 0
0 1
1 0
1 1
NOT Gate
Has only one input, reverses the logic state
Input A = 1 Output X =0
Input A Output
1 0
0 1
NOT Gate
Complete the Truth Table for the NOT GATE
Input A Output
1
0
OR Gate
The output is true, if either of the inputs are
true Input A Input B Output
0 0 0
Input A = 1 0 1 1
Input B = 0 Output X = 1 1 0 1
1 1 1
OR Gate
Complete the Truth table for the OR Gate
0 0
0 1
1 0
1 1
What grade did I achieve?
Which Gate?
Identify the symbol:
a) AND
b) NOR
c) NOT
Which Gate?
Identify the symbol:
a) NAND
b) NOR
c) NOT
Which Gate?
Identify the symbol:
a) NAND
b) NOR
c) OR
Choose the correct 1
If an output of a logic gate is True, this means
that the output is:
a) 1
b) False
c) Off
Which Gate?
Has only one input, reverses the logic state
Input A = 1 Output X =0
Input A Output
1 0
0 1
a) NAND
b) NOR
c) NOT
Which Gate?
The output is true, if both the inputs are true
Input A = 1
Input B = 1 Output X = 1
Input A Input B Output
0 1 0
1 0 0
1 1 1
a) AND
b) OR
c) NOR
Which Gate?
The output is true, if either the inputs are true
Input A Input B Output
Input A = 1 0 0 0
Input B = 1 Output X = 1 0 1 1
1 0 1
1 1 1
a) XOR
b) OR
c) NOT
TASK 1
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 1 ANSWERS
0 0 0 0 0
0 0 1 0 0
0 1 0 0 0
0 1 1 0 0
1 0 0 0 0
1 0 1 0 0
1 1 0 1 0
1 1 1 1 1
TASK 2
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 2 ANSWERS
0 0 0 0 0 0
0 0 1 0 1 1
0 1 0 0 1 1
0 1 1 0 1 1
1 0 0 0 0 0
1 0 1 0 1 1
1 1 0 1 1 1
1 1 1 1 1 1
TASK 3
Input A Input B Input C Output P Output Q Output X
(A OR B) B AND C) (P OR Q)
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 3 ANSWERS
0 0 0 0 0 0
0 0 1 0 0 0
0 1 0 1 0 1
0 1 1 1 1 1
1 0 0 1 0 1
1 0 1 1 0 1
1 1 0 1 0 1
1 1 1 1 1 1
TASK 4: Logic Diagram