
Boolean Logic
Presentation
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
Robert B.A
Used 9+ times
FREE Resource
25 Slides • 20 Questions
1
Boolean Logic
2
Outline
Standard logic gate symbols
Use logic gates to create logic circuits
Complete a truth table
Write logic expression
3
Introduction
Electronic circuits in computers, solid state drives and controlling devices are made up of thousands of logic gates
Logic gates take binary inputs and produce a binary output.
Several logic gates combined together form a logic circuit and these circuits are designed to carry out a specific function.
4
Logic gate expressions
Truth table: Shows all the combinations that can be used as input and output.
Logic expression: Used to represent the logic of the logic gate.
5
NOT Logic gate
It is the simplest logic gate with one input and one output.
It is used to reverse the input to get the output.
NOT Logic gate
Truth table
A | NOT A |
|---|---|
0 | 1 |
1 | 0 |
6
Fill in the Blanks
7
Fill in the Blanks
8
Fill in the Blanks
9
Questions
You can withdraw money from an ATM only if you enter the correct PIN AND have sufficient funds in your account.
In a room, the light is designed to turn off when you press the switch, AND it turns on when the switch is released.
A security light is set to turn on at night when it gets dark AND off during the day when it is light.
A security light is set to turn on at night when it gets dark and off during the day when it is light.
10
AND GATE
Has two input and one output. Output is 1 when both inputs are 1 Otherwise the output is zero.
AND Gate diagram
AND gate truth table
Z = A AND B (Logic notation)
Z = A.B (Boolean Notation)
A | B | Z |
|---|---|---|
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
11
Fill in the Blanks
12
Multiple Choice
What is the output of an AND gate if both inputs are FALSE?
13
Multiple Choice
Given that Input 1 is TRUE and Input 2 is FALSE, what will be the output of the AND gate?
14
Multiple Choice
If an AND gate has three inputs (A, B, C) and all inputs are TRUE, what will the output be?
15
Multiple Choice
An AND gate will produce a TRUE output only when:
16
OR GATE
Has two inputs and one output. The output is one when one of the inputs is one or both inputs are one.
OR Gate diagram
OR Gate truth table
Z = A OR B (Logic notation)
Z = A + B (Boolean notation)
A | B | Z |
|---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
17
Multiple Choice
Which of the following inputs will result in a TRUE output from an OR gate?
18
Multiple Choice
What is the output of an OR gate if both inputs are FALSE?
19
Multiple Choice
Given that Input 1 is TRUE and Input 2 is FALSE, what will be the output of the OR gate?
20
Multiple Choice
If an OR gate has three inputs (A, B, C) and at least one input is TRUE, what will the output be?
21
NAND Gate (NOT AND)
Has two inputs and one output. Output is 0 when both inputs are 1. Otherwise the output is 0.
NAND gate diagram
NAND gate truth table
Z = NOT (A AND B).
Z = A.B
A | B | Z |
|---|---|---|
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
22
NOR Logic Gate (NOT OR)
Has two inputs and one output.
The only time the output is 1 is when both inputs are 0.
NOR gate diagram
Truth table
Q = NOT(A OR B)
Q = A+B
A | B | Q |
|---|---|---|
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
23
XOR gate
It is also known as EOR gate. It is known as exclusive OR gate. It has two input and one output.
The output is one when inputs are different and zero when inputs are the same.
Diagram
A | B | Y |
|---|---|---|
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
24
Match
Match the following
AND GATE
OR GATE
NOR GATE
XOR GATE
NOT GATE
AND GATE
OR GATE
NOR GATE
XOR GATE
NOT GATE
25
Fill in the Blanks
26
Fill in the Blanks
27
Multiple Choice
Which of the following is the output of an AND gate when both inputs are 1?
28
Multiple Choice
Which logic gate produces an output of 1 when at least one of its inputs is 1?
29
Multiple Choice
Which gate inverts the input it receives?
30
Multiple Choice
Which of the following is true for a NOR gate?
31
Multiple Choice
If one input of an XOR gate is 0 and the other is 1, what is the output?
32
Logic Circuit
Combination of several logic gates that are linked together.
33
Example 01
Give the logic expression and truth table for the following logic circuit
34
Answer
Y = (A OR B ) AND NOT C
A | B | C | NOT C | A OR B | (A OR B) AND NOT C |
|---|---|---|---|---|---|
0 | 0 | 0 | 1 | 0 | 0 |
0 | 0 | 1 | 0 | 0 | 0 |
0 | 1 | 0 | 1 | 1 | 1 |
0 | 1 | 1 | 0 | 1 | 0 |
1 | 0 | 0 | 1 | 1 | 1 |
1 | 0 | 1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 | 1 | 1 |
1 | 1 | 1 | 0 | 1 | 0 |
35
Example 02
Give the logic expression and truth table for the following logic circuit
36
Answer
Q =A OR (NOT B AND C)
A | B | C | NOT B | NOT B AND C | A OR (NOT B AND C) |
|---|---|---|---|---|---|
0 | 0 | 0 | 1 | 0 | 0 |
0 | 0 | 1 | 1 | 1 | 1 |
0 | 1 | 0 | 0 | 0 | 0 |
0 | 1 | 1 | 0 | 0 | 0 |
1 | 0 | 0 | 1 | 0 | 1 |
1 | 0 | 1 | 1 | 1 | 1 |
1 | 1 | 0 | 0 | 0 | 1 |
1 | 1 | 1 | 0 | 0 | 1 |
37
Example 03
Give the logic expression and truth table for the following logic circuit
38
Answer
Z = (NOT(P AND Q)) XOR NOT Q) AND R
A = P AND Q
B = NOT (P AND Q)
C = NOT Q
D = A XOR C
E = D AND R
P | Q | R | A | B | C | D | E |
|---|---|---|---|---|---|---|---|
0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 |
0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 |
1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 |
1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 |
1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
39
Homework
Give the logic expression and truth table for the following logic circuit
40
Give the logic expression and truth table for the following logic circuits
41
Question
Complete the truth table for this logic circuit.
A | B | C | Working Place | Z |
|---|---|---|---|---|
0 | 0 | 0 | | |
0 | 0 | 1 | | |
0 | 1 | 0 | | |
0 | 1 | 1 | | |
1 | 0 | 0 | | |
1 | 0 | 1 | | |
1 | 1 | 0 | | |
1 | 1 | 1 | | |
42
Answer
A | B | C | Working Place | Z |
|---|---|---|---|---|
0 | 0 | 0 | | 0 |
0 | 0 | 1 | | 1 |
0 | 1 | 0 | | 0 |
0 | 1 | 1 | | 0 |
1 | 0 | 0 | | 1 |
1 | 0 | 1 | | 0 |
1 | 1 | 0 | | 0 |
1 | 1 | 1 | | 0 |
43
Question
Consider the logic expression:
Z = (A NAND B) OR NOT (B XOR C)
Complete the truth table
from the given logic expression.
A | B | C | Working Place | Z |
|---|---|---|---|---|
0 | 0 | 0 | | 0 |
0 | 0 | 1 | | 1 |
0 | 1 | 0 | | 0 |
0 | 1 | 1 | | 0 |
1 | 0 | 0 | | 1 |
1 | 0 | 1 | | 0 |
1 | 1 | 0 | | 0 |
1 | 1 | 1 | | 0 |
44
Answer
A | B | C | Working Place | Z |
|---|---|---|---|---|
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 | | 0 |
1 | 1 | 1 | | 1 |
45
Question
Consider this logic circuit.
Write a logic expression for this logic circuit.Complete the truth table from the given
logic circuit.
A | B | C | Working Place | Z |
|---|---|---|---|---|
0 | 0 | 0 | | 0 |
0 | 0 | 1 | | 1 |
0 | 1 | 0 | | 0 |
0 | 1 | 1 | | 0 |
1 | 0 | 0 | | 1 |
1 | 0 | 1 | | 0 |
1 | 1 | 0 | | 0 |
1 | 1 | 1 | | 0 |
Boolean Logic
Show answer
Auto Play
Slide 1 / 45
SLIDE
Similar Resources on Wayground
38 questions
REDES E INTERNET
Presentation
•
10th Grade
38 questions
Rhetorical Appeals and Strategies
Presentation
•
9th Grade
39 questions
MODULE 04 - THS NGUYỄN THỊ KIM THÁI - BÀI HỌC
Presentation
•
KG
38 questions
Exponential Functions
Presentation
•
11th Grade
37 questions
Introduction to Earth Science
Presentation
•
11th Grade
43 questions
i Thread
Presentation
•
11th Grade
43 questions
Software development mythologies
Presentation
•
11th Grade
42 questions
Unit 8 Validation and verification
Presentation
•
10th - 11th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade