SlideShare a Scribd company logo
Going From Beginner To Expert
On Computing Boolean
Expressions and Finding Their
Respective Logic Gates
Joshua Fernandes
The Outline Of This Tutorial
1. Basics Of Getting Started
2. Boolean Operators & Intro To Logic Gates
3. Truth Tables
4. Boolean Laws
5. Solving Boolean Algebra Problems
6. Making Logic Gates Using Boolean Algebra
7. Problems For You To Try
Basics Of Getting
Started
➔ Boolean Data Type
Boolean is a true/false value with
only 2 values being accepted for
this data type.
➔ 0’s & 1’s
In the Boolean algebra
application, the values being
used are 0’s and 1’s representing
binary values. Binary is the
language that the computer
speaks in and it what we speak
with to the computer.
Basics Of Getting
Started Pt.2
➔ Letters Used In Boolean
Algebra
The letters other that O
represents the different inputs
going into logic gates or truth
tables as a rule since the O
represent the output of the
Boolean operators
O
A
B
C
D
Boolean Operators & Intro To
Logic Gates
Logic Gates
- A Boolean operator is simply
an operation such as or & xor
that takes in either one or two
Boolean values and then
outputs one Boolean output
from that operation.
- There are 7 Boolean
operations that are used.
Boolean Operators
- A Logic gate is used to visually
represent a Boolean operation
with it representing both the
inputs going into the operation
and the output from the
operation.
- This is applied and used to
show what happens within a
computer system.
OR GATE
- The or operator is where for
two operators go in, their either
value is 1, the output is 1 else
0.
- For selecting fruit, the output is
still one as long as you pick
any amount of either bananas,
apples or both. The operator
doesn’t care what fruit is
chosen but it wants a fruit.
AND GATE
- The and operator is where for
two operators go in, if both
values are 1 then the output is
one else 0.
- For selecting fruit, the output is
one as long as you pick only
both a banana and an apple.
NOT GATE
- The not operator flips a value
so if the Boolean value is 0,
then it’s flipped to 1.
- For selecting fruit, the output is
anything but a banana or no
bananas. It’s like life or death,
their is no in-between.
XOR GATE
- The xor operator (exclusive or_
is where for when one input is
1 and the other is 0, the output
is 1 else 0.
- For selecting fruit, the output is
one as long as you pick only
both a banana and an apple. As
a weird analogy, think of this
gate as a homophobic gate
where the output is 1 only
when the inputs are the
NAND, NOR & XNOR
GATES
NAND
NOR
AND
XNOR
OR
XOR
THE NOT GATE
MIRROR
- The nand, nor and xnor gates are the direct
opposite of the and, or and xor gates with
the outputs of the nand, nor and xnor gates
being the opposite of their counterparts.
The XNOR Gate
The NOR Gate
NAND GATE
- The NAND is the foundation for
all the other logic gates seen
which is why it’s referred to as
the universal gate NAND
NOT
AND
OR
NAND
TRUTH TABLES
- A truth table is a visual representation of
all possible combination of inputs for
either one or multiple Boolean operations
and it shows the resulting output from
each operation. This can be used to even
find the operation combinated for the
result even if we don’t know exactly
which operations occurred.
- There are also 2 main types of truth
tables, one shows the operation in
isolation and the other encompasses
multiple operations.
It reveals the TRUE output
possibilities for each operation
TRUTH TABLES PT.2
The single operation table
The multiple operation table
- The multiple operation truth table is a more useful form of truth table since
it encompasses more information useful for both computer systems and
mathematical applications. Through the process of Boolean algebra, the
output is “(A ∧ (Ā + AB))” but it’s usually more complicated to find this.
Boolean Laws
Identity Laws
A ∧ 1 = A A + 0 = 0
Domination Laws
A + 1 = 1 A ∧ 0 = 0
These 2 laws compares 1 input to the Boolean values of 0 and 1.
- Tip 1: Double check to see if the operation you’re doing is an and or an or
since if you compute the wrong result, then the whole operation have the
wrong output.
- Tip 2: Make sure that you have the correct result because if you don’t,
then you may have done the inverse of this law which will affect the rest
of the calculation down the road.
These 2 laws are inverses of each other and their results are inverse so
please, DOUBLE CHECK YOUR WORK.
Negation Laws
Negation Law: This law gets an input and it’s inverse
to either apply the AND or OR
operation to find the result of this.
- Tip 1: This is cancelling out the
not A and A so when you are
done with these, you only take
the output if you need to do
further algebra.
Double
Negation Law:
This law cancels out 2 negative values
in the input if there are 2 or more not
operations in the input.
- Tip 1: If the amount of lines or
not values attached to the input
is odd, just eliminate all of them
and if it’s odd, then eliminate all
of them too but just leave one
still there to then apply other
laws within the Boolean
expression.
A practical way of thinking about
the Double Negation Law
Eliminates an input and it’s inverse
for a Boolean value.
Idempotent Laws
➔ This law deals with when
there are two of the same
input in the same
expression simplifying the
result to its original input.
➔ Tip 1: The great thing
about this law is even if
you mess up the type of
operation you execute, the
answer will be the same.
➔ A ∧ A = A
➔ A + A = A
It gets rid of multiples
of the same input
using the idempotent
law
Absorption Law
A ∧ (A + B) = A
A + (A ∧ B) = A
This law takes an expression
with 2 of the same input and
one of another input with there
being 2 DIFFERENT
operations separate each input
with the result being just the
input repeated twice. (This law
simplifies the expression
Tip 1: When checking to see if
this operation can be done to
an expression, if the operation
separating the 3 inputs are the
same, DO NOT APPLY THE
ABSORPTION LAW.
COMMUNICATIV
E LAWS
This law deals with when there is an
input of one time and input of the
other type and this law simply flips
the order of the inputs.
- Tip 1: This only reverses the
order of the inputs which can
be at time important so DON’T
SWITCH THE OPERATIONS.
A ∧ B = B ∧ A
A + B = B + A
Distributive Laws
(A ∧ B) ∧ C = A ∧ (B ∧ C)
(A + B) + C = A + (B + C)
This law simply switches up the bracket from the a and
b expression to the b and c expression since brackets
make an impact when doing Boolean algebra.
- Tip 1: DON’T flip the order of the inputs
- Tip 2: If the operations separating the 3 inputs
aren’t the exact same, DO NOT APPLY THE
ASSOCIATIVE LAW.
A ∧ (B + C) = (A ∧ B) + (B ∧ C)
A + (B ∧ C) = (A + B) ∧ (B + C)
This law takes the expression with 3 seperate inputs
connected by opposite operators and expands them by
multiplying the input outside the bracket with the inputs
inside the bracket.
- Tip 1: When this operation has been done, make
sure that the operation outside the brackets
initially is joined with all bracketed inputs and
connect them with the outside expression. Then
join the bracketed expressions together with the
operation inside the bracket.
Associative Laws
De Morgan’s Laws:
This law separates the not inputs for 2
inputs and this law also switches up
the operation being done to the inputs.
- Tip 1: If you see a not operation
inside the input and not the
expression, do the law and then
remove the not from that specific
input.
It acts like the
communicative law
except it uses the
inverse values of an
input and it swaps the
operation and not the
inputs.
The Theorems
Duality
Theore
m
This law gets a long expression of inputs
and flips the operators separating each
input.
- Tip 1: With a string of continuous or
inputs, when you then switch an or
operator to an and, place brackets
between the whole string of or
operators so you can identify where
the continuous string is occuring.
A ∧ B ∧ C + A’∧ B ∧ C =
(A + B + C) ∧ (A’+ B + C)
Consensus
Theorem
A ∧ B + A’ ∧ C + B ∧ C = A ∧ B +
A’ ∧ C
(A+B) ∧ (A’ + C) ∧ (B + C) = (A +
B) ∧ (A’ + C)
This law eliminates repeating
inputs from the expression (2 B
inputs to 1) and takes the
expressions without repeated
inputs and uses this as the output
using this law.
Consensus
Theorem Pt.2
- Tip 1: For the repeated inputs being
in one expression, remove the entire
sub expression from the greater
expression.
- Tip 2: This works with inverted inputs
too.
- Tip 3: If you can’t find the repeated
values in the same expression to
remove, then try applying a different
law first.
This theorem eliminates all
duplicates within an
expression by taking out
all expressions with solely
duplicate values in them.
Transposition Theorem
(A + B) ∧ (A’ + C) = A ∧ C + A’ ∧ B
This law swaps the operations in the
expression and this law can be done with
inverted inputs as well.
- Tip 1: Do this law after applying the
consensus law to the expression.
- Tip 2: When applying this law,
connect with the new operator the
values from the or operators
separated by the and operator and
make the new expression with inputs
from both sides.
- Tip 3: For all operations with the or
operator connecting the 2 inputs
between an and operator and the
same expression type, add brackets
to the or operation to make it easier
to find.
What’s being swapped is both the operator
and the 2 values in the brackets aren’t next
to each other in this process.
(A ∧ B + A’ ∧ C) = (A + C) ∧ (A’ + B)
Solving Boolean
Algebra Problems
- Solving Boolean Algebra Problems Happens Usually in 2 steps being finding
the algebraic expression for a problem first and then simplifying the
expression to make it easier to understand and to then be able to make the
logic gates out of the simplified answer.
A B C O
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1
Problem 1
- Find and simplify the Boolean expression from the
truth table provided with the inputs provided as
well as the outputs provided.
- Tip 1: These problems can also even be given as
a statement for you to find the truth table before
doing this process.
Making Logic Gates Using Boolean
Algebra Expressions
- The final step needed to get a good understanding of Boolean algebra and
how to compute it is to make logic gates using the algebraic expression found
using Boolean algebra.
- Tip 1: Normally the logic gates are formed using the AND, OR & NOT gates.
- Tip 2: When making logic gates from Boolean algebra, using this example (A
+ B + C), start making the logic gates from right to left and you go from the
bottom to the top of the page.
Try Some Problems For Yourself
- Attempt to solve these 2 questions
1. Using this bit of Boolean algebra (A’B’C’ + A’B’C +
AB’C’ + ABC’) , simplify it and find its corresponding
logic gate
2. Using the provided truth table, find the simplified
algebraic expression and then find its corresponding
logic gate.
- MAKE SURE that you DO NOT keep going with this
video until you have found your answers to these
questions
A B C O
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
Thanks For
Watching
Bibliography For Pictures and Ideas
https://www.vecteezy.com/vector-art/1736156-abstract-technology-futuristic-concept-of-blue-electronic-circuit
https://www.vulture.com/2021/12/the-matrix-red-pill-internet-delusional-drug.html
https://www.pond5.com/search?kw=animated-binary-numbers&media=footage
https://www.templeandwebster.com.au/Bowie-Freestanding-Mirror-TMPL3081.html
https://stock.adobe.com/au/search?k=cornerstone&load_type=tagged%20keyword&prev_url=detail
https://en.cryptonomist.ch/2022/09/05/google-play-store-truth-social-2/
https://heartofashepherd.com/2020/11/11/the-enemy-of-my-enemy-is-my-friend-luke-23-john-18-19/
https://clonetrooper.fandom.com/wiki/Clone_trooper_commander
https://www.starwars.com/databank/clone-troopers
https://www.pxfuel.com/en/desktop-wallpaper-ultrr
https://en.wikipedia.org/wiki/Augustus_De_Morgan
https://www.nature.com/articles/nrmicro.2016.98

More Related Content

Similar to Boolean Algebra Presentation

Operators used in vb.net
Operators used in vb.netOperators used in vb.net
Operators used in vb.net
Jaya Kumari
 
C Sharp Jn (2)
C Sharp Jn (2)C Sharp Jn (2)
C Sharp Jn (2)jahanullah
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
NANDINI SHARMA
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
RameshK531901
 
DLD PRESENTATION1.pptx
DLD PRESENTATION1.pptxDLD PRESENTATION1.pptx
DLD PRESENTATION1.pptx
AbuBakkarShayan
 
Operators in c++
Operators in c++Operators in c++
Operators in c++
ABHIJITPATRA23
 
Ch3 Boolean Algebra.ppt
Ch3 Boolean Algebra.pptCh3 Boolean Algebra.ppt
Ch3 Boolean Algebra.ppt
zorogoh2
 
Digital logic mohammed salim ch4
Digital logic mohammed salim ch4Digital logic mohammed salim ch4
Digital logic mohammed salim ch4
Asst Lect Mohammed Salim
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
akshat205573
 
Operators
OperatorsOperators
Operators
Kamran
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
MuruganandhanD
 
operators and expressions in c++
 operators and expressions in c++ operators and expressions in c++
operators and expressions in c++
sanya6900
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
Er. Nawaraj Bhandari
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
AbubakrZahid1
 
Chapter 3:Programming with Java Operators and Strings
Chapter 3:Programming with Java Operators and  StringsChapter 3:Programming with Java Operators and  Strings
Chapter 3:Programming with Java Operators and Strings
It Academy
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
ssuserf7cd2b
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
matfeako
 
Operators
OperatorsOperators

Similar to Boolean Algebra Presentation (20)

Operators used in vb.net
Operators used in vb.netOperators used in vb.net
Operators used in vb.net
 
C Sharp Jn (2)
C Sharp Jn (2)C Sharp Jn (2)
C Sharp Jn (2)
 
C Sharp Jn (2)
C Sharp Jn (2)C Sharp Jn (2)
C Sharp Jn (2)
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
 
boolean-algebra.pdf
boolean-algebra.pdfboolean-algebra.pdf
boolean-algebra.pdf
 
DLD PRESENTATION1.pptx
DLD PRESENTATION1.pptxDLD PRESENTATION1.pptx
DLD PRESENTATION1.pptx
 
Operators in c++
Operators in c++Operators in c++
Operators in c++
 
Ch3 Boolean Algebra.ppt
Ch3 Boolean Algebra.pptCh3 Boolean Algebra.ppt
Ch3 Boolean Algebra.ppt
 
Digital logic mohammed salim ch4
Digital logic mohammed salim ch4Digital logic mohammed salim ch4
Digital logic mohammed salim ch4
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
 
Operators
OperatorsOperators
Operators
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
Report on c
Report on cReport on c
Report on c
 
operators and expressions in c++
 operators and expressions in c++ operators and expressions in c++
operators and expressions in c++
 
Chapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic GatesChapter 2: Boolean Algebra and Logic Gates
Chapter 2: Boolean Algebra and Logic Gates
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
 
Chapter 3:Programming with Java Operators and Strings
Chapter 3:Programming with Java Operators and  StringsChapter 3:Programming with Java Operators and  Strings
Chapter 3:Programming with Java Operators and Strings
 
Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Operators
OperatorsOperators
Operators
 

Recently uploaded

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 

Recently uploaded (20)

CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 

Boolean Algebra Presentation

  • 1. Going From Beginner To Expert On Computing Boolean Expressions and Finding Their Respective Logic Gates Joshua Fernandes
  • 2. The Outline Of This Tutorial 1. Basics Of Getting Started 2. Boolean Operators & Intro To Logic Gates 3. Truth Tables 4. Boolean Laws 5. Solving Boolean Algebra Problems 6. Making Logic Gates Using Boolean Algebra 7. Problems For You To Try
  • 3. Basics Of Getting Started ➔ Boolean Data Type Boolean is a true/false value with only 2 values being accepted for this data type. ➔ 0’s & 1’s In the Boolean algebra application, the values being used are 0’s and 1’s representing binary values. Binary is the language that the computer speaks in and it what we speak with to the computer.
  • 4. Basics Of Getting Started Pt.2 ➔ Letters Used In Boolean Algebra The letters other that O represents the different inputs going into logic gates or truth tables as a rule since the O represent the output of the Boolean operators O A B C D
  • 5. Boolean Operators & Intro To Logic Gates
  • 6. Logic Gates - A Boolean operator is simply an operation such as or & xor that takes in either one or two Boolean values and then outputs one Boolean output from that operation. - There are 7 Boolean operations that are used. Boolean Operators - A Logic gate is used to visually represent a Boolean operation with it representing both the inputs going into the operation and the output from the operation. - This is applied and used to show what happens within a computer system.
  • 7. OR GATE - The or operator is where for two operators go in, their either value is 1, the output is 1 else 0. - For selecting fruit, the output is still one as long as you pick any amount of either bananas, apples or both. The operator doesn’t care what fruit is chosen but it wants a fruit.
  • 8. AND GATE - The and operator is where for two operators go in, if both values are 1 then the output is one else 0. - For selecting fruit, the output is one as long as you pick only both a banana and an apple.
  • 9. NOT GATE - The not operator flips a value so if the Boolean value is 0, then it’s flipped to 1. - For selecting fruit, the output is anything but a banana or no bananas. It’s like life or death, their is no in-between.
  • 10. XOR GATE - The xor operator (exclusive or_ is where for when one input is 1 and the other is 0, the output is 1 else 0. - For selecting fruit, the output is one as long as you pick only both a banana and an apple. As a weird analogy, think of this gate as a homophobic gate where the output is 1 only when the inputs are the
  • 11. NAND, NOR & XNOR GATES NAND NOR AND XNOR OR XOR THE NOT GATE MIRROR - The nand, nor and xnor gates are the direct opposite of the and, or and xor gates with the outputs of the nand, nor and xnor gates being the opposite of their counterparts. The XNOR Gate The NOR Gate
  • 12. NAND GATE - The NAND is the foundation for all the other logic gates seen which is why it’s referred to as the universal gate NAND NOT AND OR NAND
  • 13. TRUTH TABLES - A truth table is a visual representation of all possible combination of inputs for either one or multiple Boolean operations and it shows the resulting output from each operation. This can be used to even find the operation combinated for the result even if we don’t know exactly which operations occurred. - There are also 2 main types of truth tables, one shows the operation in isolation and the other encompasses multiple operations. It reveals the TRUE output possibilities for each operation
  • 14. TRUTH TABLES PT.2 The single operation table The multiple operation table - The multiple operation truth table is a more useful form of truth table since it encompasses more information useful for both computer systems and mathematical applications. Through the process of Boolean algebra, the output is “(A ∧ (Ā + AB))” but it’s usually more complicated to find this.
  • 16. Identity Laws A ∧ 1 = A A + 0 = 0 Domination Laws A + 1 = 1 A ∧ 0 = 0 These 2 laws compares 1 input to the Boolean values of 0 and 1. - Tip 1: Double check to see if the operation you’re doing is an and or an or since if you compute the wrong result, then the whole operation have the wrong output. - Tip 2: Make sure that you have the correct result because if you don’t, then you may have done the inverse of this law which will affect the rest of the calculation down the road. These 2 laws are inverses of each other and their results are inverse so please, DOUBLE CHECK YOUR WORK.
  • 17. Negation Laws Negation Law: This law gets an input and it’s inverse to either apply the AND or OR operation to find the result of this. - Tip 1: This is cancelling out the not A and A so when you are done with these, you only take the output if you need to do further algebra. Double Negation Law: This law cancels out 2 negative values in the input if there are 2 or more not operations in the input. - Tip 1: If the amount of lines or not values attached to the input is odd, just eliminate all of them and if it’s odd, then eliminate all of them too but just leave one still there to then apply other laws within the Boolean expression. A practical way of thinking about the Double Negation Law Eliminates an input and it’s inverse for a Boolean value.
  • 18. Idempotent Laws ➔ This law deals with when there are two of the same input in the same expression simplifying the result to its original input. ➔ Tip 1: The great thing about this law is even if you mess up the type of operation you execute, the answer will be the same. ➔ A ∧ A = A ➔ A + A = A It gets rid of multiples of the same input using the idempotent law
  • 19. Absorption Law A ∧ (A + B) = A A + (A ∧ B) = A This law takes an expression with 2 of the same input and one of another input with there being 2 DIFFERENT operations separate each input with the result being just the input repeated twice. (This law simplifies the expression Tip 1: When checking to see if this operation can be done to an expression, if the operation separating the 3 inputs are the same, DO NOT APPLY THE ABSORPTION LAW.
  • 20. COMMUNICATIV E LAWS This law deals with when there is an input of one time and input of the other type and this law simply flips the order of the inputs. - Tip 1: This only reverses the order of the inputs which can be at time important so DON’T SWITCH THE OPERATIONS. A ∧ B = B ∧ A A + B = B + A
  • 21. Distributive Laws (A ∧ B) ∧ C = A ∧ (B ∧ C) (A + B) + C = A + (B + C) This law simply switches up the bracket from the a and b expression to the b and c expression since brackets make an impact when doing Boolean algebra. - Tip 1: DON’T flip the order of the inputs - Tip 2: If the operations separating the 3 inputs aren’t the exact same, DO NOT APPLY THE ASSOCIATIVE LAW. A ∧ (B + C) = (A ∧ B) + (B ∧ C) A + (B ∧ C) = (A + B) ∧ (B + C) This law takes the expression with 3 seperate inputs connected by opposite operators and expands them by multiplying the input outside the bracket with the inputs inside the bracket. - Tip 1: When this operation has been done, make sure that the operation outside the brackets initially is joined with all bracketed inputs and connect them with the outside expression. Then join the bracketed expressions together with the operation inside the bracket. Associative Laws
  • 22. De Morgan’s Laws: This law separates the not inputs for 2 inputs and this law also switches up the operation being done to the inputs. - Tip 1: If you see a not operation inside the input and not the expression, do the law and then remove the not from that specific input. It acts like the communicative law except it uses the inverse values of an input and it swaps the operation and not the inputs.
  • 24. Duality Theore m This law gets a long expression of inputs and flips the operators separating each input. - Tip 1: With a string of continuous or inputs, when you then switch an or operator to an and, place brackets between the whole string of or operators so you can identify where the continuous string is occuring. A ∧ B ∧ C + A’∧ B ∧ C = (A + B + C) ∧ (A’+ B + C) Consensus Theorem A ∧ B + A’ ∧ C + B ∧ C = A ∧ B + A’ ∧ C (A+B) ∧ (A’ + C) ∧ (B + C) = (A + B) ∧ (A’ + C) This law eliminates repeating inputs from the expression (2 B inputs to 1) and takes the expressions without repeated inputs and uses this as the output using this law.
  • 25. Consensus Theorem Pt.2 - Tip 1: For the repeated inputs being in one expression, remove the entire sub expression from the greater expression. - Tip 2: This works with inverted inputs too. - Tip 3: If you can’t find the repeated values in the same expression to remove, then try applying a different law first. This theorem eliminates all duplicates within an expression by taking out all expressions with solely duplicate values in them.
  • 26. Transposition Theorem (A + B) ∧ (A’ + C) = A ∧ C + A’ ∧ B This law swaps the operations in the expression and this law can be done with inverted inputs as well. - Tip 1: Do this law after applying the consensus law to the expression. - Tip 2: When applying this law, connect with the new operator the values from the or operators separated by the and operator and make the new expression with inputs from both sides. - Tip 3: For all operations with the or operator connecting the 2 inputs between an and operator and the same expression type, add brackets to the or operation to make it easier to find. What’s being swapped is both the operator and the 2 values in the brackets aren’t next to each other in this process. (A ∧ B + A’ ∧ C) = (A + C) ∧ (A’ + B)
  • 28. - Solving Boolean Algebra Problems Happens Usually in 2 steps being finding the algebraic expression for a problem first and then simplifying the expression to make it easier to understand and to then be able to make the logic gates out of the simplified answer. A B C O 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 1 Problem 1 - Find and simplify the Boolean expression from the truth table provided with the inputs provided as well as the outputs provided. - Tip 1: These problems can also even be given as a statement for you to find the truth table before doing this process.
  • 29. Making Logic Gates Using Boolean Algebra Expressions - The final step needed to get a good understanding of Boolean algebra and how to compute it is to make logic gates using the algebraic expression found using Boolean algebra. - Tip 1: Normally the logic gates are formed using the AND, OR & NOT gates. - Tip 2: When making logic gates from Boolean algebra, using this example (A + B + C), start making the logic gates from right to left and you go from the bottom to the top of the page.
  • 30. Try Some Problems For Yourself - Attempt to solve these 2 questions 1. Using this bit of Boolean algebra (A’B’C’ + A’B’C + AB’C’ + ABC’) , simplify it and find its corresponding logic gate 2. Using the provided truth table, find the simplified algebraic expression and then find its corresponding logic gate. - MAKE SURE that you DO NOT keep going with this video until you have found your answers to these questions A B C O 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1
  • 32. Bibliography For Pictures and Ideas https://www.vecteezy.com/vector-art/1736156-abstract-technology-futuristic-concept-of-blue-electronic-circuit https://www.vulture.com/2021/12/the-matrix-red-pill-internet-delusional-drug.html https://www.pond5.com/search?kw=animated-binary-numbers&media=footage https://www.templeandwebster.com.au/Bowie-Freestanding-Mirror-TMPL3081.html https://stock.adobe.com/au/search?k=cornerstone&load_type=tagged%20keyword&prev_url=detail https://en.cryptonomist.ch/2022/09/05/google-play-store-truth-social-2/ https://heartofashepherd.com/2020/11/11/the-enemy-of-my-enemy-is-my-friend-luke-23-john-18-19/ https://clonetrooper.fandom.com/wiki/Clone_trooper_commander https://www.starwars.com/databank/clone-troopers https://www.pxfuel.com/en/desktop-wallpaper-ultrr https://en.wikipedia.org/wiki/Augustus_De_Morgan https://www.nature.com/articles/nrmicro.2016.98