SlideShare a Scribd company logo
Demo Class
Boolean Algebra
by:
Hau Fung Moy Kwan, Ph.D
June, 18 2018
Education is not the learning of facts, but the training of the mind to think- ALBERT EINSTEIN
Table of contents
 Introduction
 Basic definition
 Basic operations of boolean algebra
 Boolean theorems
https://es.slideshare.net/amuicita/boolean-algebra-102566803
Introduction
 Because binary logic is used in all of
today´s digital computers and devices,
the cost of the circuit that implement
it is important factor addressed by
designers- be they computer
engineers, electrical engineers, or
computer scientist.
 Finding simpler and cheaper, but
equivalent, realizations of a circuit
can reap huge payoffs in reducing the
overall cost of the design.
 Mathematical methods that simplify
circuits rely primarily on Boolean
algebra.
Hau Fung Moy Kwan, PhD.
1https://es.slideshare.net/amuicita/boolean-algebra-102566803
What is Boolean algebra?
Hau Fung Moy Kwan, PhD.
2
https://es.slideshare.net/amuicita/boolean-algebra-102566803
Where do you think Boolean algebra is used now
a days?
Hau Fung Moy Kwan, PhD.
3https://es.slideshare.net/amuicita/boolean-algebra-102566803
Boolean algebra
Basic Definition
 Boolean algebra; it is the set of rules used to simplify by
given logic expression without changing its functionality.
 Boolean algebra is a logical calculus of truth values. It deals
with two-values (true / false or 1 and 0) variables. The
symbols 0 and 1 are called bits.
 Bit: a bit (short for binary digit) is the smallest unit
of data in a computer.
Hau Fung Moy Kwan, PhD.
4https://es.slideshare.net/amuicita/boolean-algebra-102566803
Basic operations of Boolean algebra
In Boolean algebra there are only three basic
operations:
1.- Logical Addition; OR Addition; OR operation.
The common symbol is the plus sign (+).
2.-Logical multiplication; AND multiplication; AND
operation.
The common symbol is the multiplication sign (.)
3.- Logical complementation or inversion. Also called the
NOT operation( )
Hau Fung Moy Kwan, PhD.
5https://es.slideshare.net/amuicita/boolean-algebra-102566803
Basic operations of Boolean algebra
The three basic logical operations are:
1.- OR
2.- AND
3.-NOT
OR operation:
 If we have two independents variable A and B and we want to see what
the the result is when all together.
X= A + B
 We can define the rules OR sum in a table. A and B are variable that
represent logic variable. A and B can be either 0 or 1 two possible values
Hau Fung Moy Kwan, PhD.
6https://es.slideshare.net/amuicita/boolean-algebra-102566803
Basic operations of Boolean algebra
AND operation:
 If we have two varaibles two logic variables A and B and we want to know
what the result is X = A . B
 We can use the truth table to define the rules for the AND operation
 Let’s build it:
Hau Fung Moy Kwan, PhD.
7
https://es.slideshare.net/amuicita/boolean-algebra-102566803
Basic operations of Boolean algebra
Not Operation:
 The NOT operation is unlike the or and AND operation in that it can be
performed on a single variable.
 So, if we have a variable A subjective with a NOT operation the result X
will be express:
X= A Read as X equals Not A
We can summarize this rules in a truth table with:
Hau Fung Moy Kwan, PhD.
8https://es.slideshare.net/amuicita/boolean-algebra-102566803
A B X=A + B
0 0 0
0 1 1
1 0 1
1 1 1
Basic operations of Boolean algebra
Hau Fung Moy Kwan, PhD.
9
OR operation:
Truth table with A and B as variables
X= A +B
Symbol OR operation
A B C X=A + B
0 0 0 0
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 1
OR operation:
Truth table with A , B and C as variables
X= A +B + C
A
symbol OR operation
B
C
Basic operations of Boolean algebra
A B X=A . B
0 0 0
0 1 0
1 0 0
1 1 1
Truth table with A and B as variables Symbol AND operation
A
B
X= A . B
Note: like ordinary multiplication with AND multiplication you do not include
the dot is understood. Keep it out or leave it out. X=AB
A X= A
0 1
1 0
Symbol NOT operation
A X=A
inverter
Complementation, Inversion
Hau Fung Moy Kwan, PhD.
10
Basic operations of Boolean algebra
OR
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 1
Let’s summarize:
AND
0 . 0 = 0
0 . 1 = 0
1 . 0 = 0
1 . 1 = 1
NOT
0 = 1
1 = 0
Hau Fung Moy Kwan, PhD.
11
Boolean Theorems
 Boolean algebra can be used to analyzed a logic circuit and
express it is operation mathematically.
 Once the Boolean expresion for a logic circuit has been
obtained it may often be reduced to a simpler form using
boolean algebra
 The most important application of Boolean algebra that is the
simplification of logic circuits.
 By using Boolean theorems to simplify logic expressions
Hau Fung Moy Kwan, PhD.
12
 The first group of Boolean theorems we are going to define
are:
1. Single variable theorems: we are going to dealing with one
variable.
X, X=0 or X=1
Boolean Theorems
Hau Fung Moy Kwan, PhD.
13
2.- Multivariable theorems:
Commutative laws;
X+ Y= Y+X
X.Y= Y.X
The order in which we add or multiply two variables in
unimportant.
Associative law;
X +(Y+Z)= (X+Y)+Z = X+Y+Z
X(Y.Z)= (X.Y).Z = XYZ
We can group the terms of a sum or product any way we want.
Boolean Theorems
Hau Fung Moy Kwan, PhD.
14
Boolean Theorems
2.- Multivariable theorems:
Distributive law;
X(Y+Z)= XY + XZ
An expression can be expanded by multiplying term by term
X+XY =X
X +XY=X+Y
Now, let’s simplify an expression Y=ABD+ABD
Hau Fung Moy Kwan, PhD.
15
X
X
X
1
X
0
X
X.0 = 0
X.1 = X
X.X = X
X. X = 0
X+0 = X
X + 1= 1
X+X = X
X+X = 1
X
0
0
X
X
1
Boolean Theorems
Single variable theorems
Hau Fung Moy Kwan, PhD.
16
X X
X
0
X
X
X
0
1
X
1
Let’s summarize:
Boolean Theorems
Multivariable theorems
Hau Fung Moy Kwan, PhD.
17
Commutative laws;
X+ Y= Y+X
X.Y= Y.X
Associative law;
X +(Y+Z)= (X+Y)+Z = X+Y+Z
X(Y.Z)= (X.Y).Z = XYZ
Distributive law;
X(Y+Z)= XY + XZ
X+XY =X
X +XY=X+Y
Let’s summarize:
Let’s proof some Boolean theorems
1. x + x = x
2. DeMorgan’s theorem, 𝑥 + 𝑦 = 𝑥 𝑦, their validity is easily shown with truth tables.
For example:
X Y X+ Y ( X + Y )
0 0 0 1
0 1 1 0
1 0 1 0
1 1 1 0
X Y ( X + Y )
1 1 1
1 0 0
0 1 0
0 0 0
Hau Fung Moy Kwan, PhD.
18
What are the practical applications of logic
gates?
 You practically applied Millions of logic gates to inquire as to what is the practical
application of logic gates.
 That's because the logic gates are the building blocks for all computers, smart
phones and the whole internet. Let’s see some day to day applications of the 3 basic
gates, that a common person may relate to:
OR Gate
Hau Fung Moy Kwan, PhD.
19
ON/OFF
Front Doorbell Switch
Back Doorbell Switch
0 Doorbell
ON/OFF
If either the Front Door switch OR the
Back Doorbell Switch is pressedthen
the Doorbell rings
AND Gate
What are the practical applications of logic
gates?
ON/OFF
Person Sensor
Alarm Switch
0
Burglar Alarm
ON/OFF
ON/OFF
If both the Person Sensor AND the
Alarm Switch are on then the Burglar
Alarm is activated
Hau Fung Moy Kwan, PhD.
20https://es.slideshare.net/amuicita/boolean-algebra-102566803
What are the practical applications of logic
gates?
NOT Gate
Hau Fung Moy Kwan, PhD.
21
Tempeture Detector
(Above 20 ℃ )
ON/OFF
ON/OFF
If the Temperature is Above 20 ℃ then
the Central heating is switch off.
If the Temperature is below20 ℃ then
the Central heating is switch on.
Central Heating
Bibliography
Books:
Online web pages to practices:
http://www.ee.surrey.ac.uk/Projects/Labview/boolalgebra/quiz/index.html
https://math.stackexchange.com/questions/653201/exercise-regarding-boolean-algebra
Personal Blog: https://sites.google.com/site/haumoy/ Canvas
Hau Fung Moy Kwan, PhD.
22
Thank You!!!
“A person who never made a mistake never tried anything new”
“Never give up on what you really want to do.
The person with big dreams is more powerful than one with all the facts”
-Albert Eistein
amuicita@yahoo.com 385-202-9927
https://www.linkedin.com/in/hau-moy-4b491620/
https://sites.google.com/site/haumoy/ Canvas
Hau Fung Moy Kwan, PhD.
23

More Related Content

What's hot

Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Satya P. Joshi
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
Self-employed
 
Logic gates
Logic gatesLogic gates
Logic gates
prasanna chitra
 
Presentation On Logic Gate
Presentation On Logic Gate Presentation On Logic Gate
Presentation On Logic Gate
Nazrul Islam
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
Vaagdevi College of Engineering
 
Boolean+logic
Boolean+logicBoolean+logic
Boolean+logic
Bilal Maqbool ツ
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
Janki Shah
 
Logic gates
Logic gatesLogic gates
Logic gates
Rahul Thukral
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
Self-employed
 
Unit 4-booth algorithm
Unit 4-booth algorithmUnit 4-booth algorithm
Unit 4-booth algorithm
vishal choudhary
 
Binary codes
Binary codesBinary codes
Binary codes
Revathi Subramaniam
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
Kamal Acharya
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
Dhwanil Champaneria
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
Gaditek
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
Nallapati Anindra
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 

What's hot (20)

Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Subtractor (1)
Subtractor (1)Subtractor (1)
Subtractor (1)
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Presentation On Logic Gate
Presentation On Logic Gate Presentation On Logic Gate
Presentation On Logic Gate
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
Boolean+logic
Boolean+logicBoolean+logic
Boolean+logic
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
Logic gates
Logic gatesLogic gates
Logic gates
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Unit 4-booth algorithm
Unit 4-booth algorithmUnit 4-booth algorithm
Unit 4-booth algorithm
 
Binary codes
Binary codesBinary codes
Binary codes
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
 
Number system conversion
Number system conversionNumber system conversion
Number system conversion
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 

Similar to Boolean Algebra

Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
ssuserf7cd2b
 
Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
Burhanuddin Mohammad
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
MeghaSharma513
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
michaelaaron25322
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
Robert Geofroy
 
chapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdfchapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdf
study material
 
chapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdfchapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdf
study material
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
AbubakrZahid1
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1
Supanna Shirguppe
 
Switching algebra and logic gates
Switching algebra  and  logic gatesSwitching algebra  and  logic gates
Switching algebra and logic gatesTarun Gehlot
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
akshat205573
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.ppt
naresh414857
 
Computer and Network Technology (CNT) - Lecture 04
Computer and Network Technology (CNT) - Lecture 04Computer and Network Technology (CNT) - Lecture 04
Computer and Network Technology (CNT) - Lecture 04
Susantha Herath
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
SAEED ULLAH JAN
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
MuruganandhanD
 
Rthch2nts 160709112024
Rthch2nts 160709112024Rthch2nts 160709112024
Rthch2nts 160709112024
marangburu42
 
IS 139 Lecture 3 - 2015
IS 139 Lecture 3 - 2015IS 139 Lecture 3 - 2015
IS 139 Lecture 3 - 2015
Aron Kondoro
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
wajanga
 
Chapter_11.pdf
Chapter_11.pdfChapter_11.pdf
Chapter_11.pdf
Upinder Kaur
 

Similar to Boolean Algebra (20)

Chapter 2.pdf
Chapter 2.pdfChapter 2.pdf
Chapter 2.pdf
 
Chapter 4 logic design
Chapter 4   logic designChapter 4   logic design
Chapter 4 logic design
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
chapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdfchapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdf
 
chapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdfchapter-2-boolean-algebra.pdf
chapter-2-boolean-algebra.pdf
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1
 
Switching algebra and logic gates
Switching algebra  and  logic gatesSwitching algebra  and  logic gates
Switching algebra and logic gates
 
Boolean Logic.pptx
Boolean Logic.pptxBoolean Logic.pptx
Boolean Logic.pptx
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.ppt
 
Computer and Network Technology (CNT) - Lecture 04
Computer and Network Technology (CNT) - Lecture 04Computer and Network Technology (CNT) - Lecture 04
Computer and Network Technology (CNT) - Lecture 04
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Logic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers andLogic gates ,flip flop ,registers and
Logic gates ,flip flop ,registers and
 
Rthch2nts 160709112024
Rthch2nts 160709112024Rthch2nts 160709112024
Rthch2nts 160709112024
 
IS 139 Lecture 3 - 2015
IS 139 Lecture 3 - 2015IS 139 Lecture 3 - 2015
IS 139 Lecture 3 - 2015
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
Chapter_11.pdf
Chapter_11.pdfChapter_11.pdf
Chapter_11.pdf
 

More from Hau Moy

Como revalidar tu titulo en los usa 2021
Como revalidar tu titulo en los usa 2021Como revalidar tu titulo en los usa 2021
Como revalidar tu titulo en los usa 2021
Hau Moy
 
COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?
COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?
COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?
Hau Moy
 
University Experience Certificate
University Experience CertificateUniversity Experience Certificate
University Experience Certificate
Hau Moy
 
UTAH Teacher license
UTAH Teacher license UTAH Teacher license
UTAH Teacher license
Hau Moy
 
OPI Spanish certificate
OPI Spanish certificateOPI Spanish certificate
OPI Spanish certificate
Hau Moy
 
OPI ENGLISH certificate
OPI ENGLISH certificateOPI ENGLISH certificate
OPI ENGLISH certificate
Hau Moy
 
Hau Moy Resume
Hau Moy ResumeHau Moy Resume
Hau Moy Resume
Hau Moy
 
Report of Evaluations of Educational Credentials
Report of Evaluations of Educational CredentialsReport of Evaluations of Educational Credentials
Report of Evaluations of Educational Credentials
Hau Moy
 
StudentsThesis Evaluation
StudentsThesis EvaluationStudentsThesis Evaluation
StudentsThesis Evaluation
Hau Moy
 
Didactic Model for Sgnicant Learning in Control System
Didactic Model for Sgnicant Learning in Control SystemDidactic Model for Sgnicant Learning in Control System
Didactic Model for Sgnicant Learning in Control System
Hau Moy
 
From traditional training to the mediation learning process in higher educati...
From traditional training to the mediation learning process in higher educati...From traditional training to the mediation learning process in higher educati...
From traditional training to the mediation learning process in higher educati...
Hau Moy
 
Integrating Technology Evolution Data Optimized in venezuelan Network
Integrating Technology Evolution Data Optimized in venezuelan NetworkIntegrating Technology Evolution Data Optimized in venezuelan Network
Integrating Technology Evolution Data Optimized in venezuelan Network
Hau Moy
 
Integration of the Technology Gprs in Gsm Network
Integration of the Technology Gprs in Gsm NetworkIntegration of the Technology Gprs in Gsm Network
Integration of the Technology Gprs in Gsm NetworkHau Moy
 

More from Hau Moy (13)

Como revalidar tu titulo en los usa 2021
Como revalidar tu titulo en los usa 2021Como revalidar tu titulo en los usa 2021
Como revalidar tu titulo en los usa 2021
 
COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?
COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?
COMO REVALIDAR TU TITULO UNIVERSITARIO EN LOSEE.UU.?
 
University Experience Certificate
University Experience CertificateUniversity Experience Certificate
University Experience Certificate
 
UTAH Teacher license
UTAH Teacher license UTAH Teacher license
UTAH Teacher license
 
OPI Spanish certificate
OPI Spanish certificateOPI Spanish certificate
OPI Spanish certificate
 
OPI ENGLISH certificate
OPI ENGLISH certificateOPI ENGLISH certificate
OPI ENGLISH certificate
 
Hau Moy Resume
Hau Moy ResumeHau Moy Resume
Hau Moy Resume
 
Report of Evaluations of Educational Credentials
Report of Evaluations of Educational CredentialsReport of Evaluations of Educational Credentials
Report of Evaluations of Educational Credentials
 
StudentsThesis Evaluation
StudentsThesis EvaluationStudentsThesis Evaluation
StudentsThesis Evaluation
 
Didactic Model for Sgnicant Learning in Control System
Didactic Model for Sgnicant Learning in Control SystemDidactic Model for Sgnicant Learning in Control System
Didactic Model for Sgnicant Learning in Control System
 
From traditional training to the mediation learning process in higher educati...
From traditional training to the mediation learning process in higher educati...From traditional training to the mediation learning process in higher educati...
From traditional training to the mediation learning process in higher educati...
 
Integrating Technology Evolution Data Optimized in venezuelan Network
Integrating Technology Evolution Data Optimized in venezuelan NetworkIntegrating Technology Evolution Data Optimized in venezuelan Network
Integrating Technology Evolution Data Optimized in venezuelan Network
 
Integration of the Technology Gprs in Gsm Network
Integration of the Technology Gprs in Gsm NetworkIntegration of the Technology Gprs in Gsm Network
Integration of the Technology Gprs in Gsm Network
 

Recently uploaded

Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
Globus
 
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
Jen Stirrup
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 

Recently uploaded (20)

Enhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZEnhancing Performance with Globus and the Science DMZ
Enhancing Performance with Globus and the Science DMZ
 
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...The Metaverse and AI: how can decision-makers harness the Metaverse for their...
The Metaverse and AI: how can decision-makers harness the Metaverse for their...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 

Boolean Algebra

  • 1. Demo Class Boolean Algebra by: Hau Fung Moy Kwan, Ph.D June, 18 2018 Education is not the learning of facts, but the training of the mind to think- ALBERT EINSTEIN
  • 2. Table of contents  Introduction  Basic definition  Basic operations of boolean algebra  Boolean theorems https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 3. Introduction  Because binary logic is used in all of today´s digital computers and devices, the cost of the circuit that implement it is important factor addressed by designers- be they computer engineers, electrical engineers, or computer scientist.  Finding simpler and cheaper, but equivalent, realizations of a circuit can reap huge payoffs in reducing the overall cost of the design.  Mathematical methods that simplify circuits rely primarily on Boolean algebra. Hau Fung Moy Kwan, PhD. 1https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 4. What is Boolean algebra? Hau Fung Moy Kwan, PhD. 2 https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 5. Where do you think Boolean algebra is used now a days? Hau Fung Moy Kwan, PhD. 3https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 6. Boolean algebra Basic Definition  Boolean algebra; it is the set of rules used to simplify by given logic expression without changing its functionality.  Boolean algebra is a logical calculus of truth values. It deals with two-values (true / false or 1 and 0) variables. The symbols 0 and 1 are called bits.  Bit: a bit (short for binary digit) is the smallest unit of data in a computer. Hau Fung Moy Kwan, PhD. 4https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 7. Basic operations of Boolean algebra In Boolean algebra there are only three basic operations: 1.- Logical Addition; OR Addition; OR operation. The common symbol is the plus sign (+). 2.-Logical multiplication; AND multiplication; AND operation. The common symbol is the multiplication sign (.) 3.- Logical complementation or inversion. Also called the NOT operation( ) Hau Fung Moy Kwan, PhD. 5https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 8. Basic operations of Boolean algebra The three basic logical operations are: 1.- OR 2.- AND 3.-NOT OR operation:  If we have two independents variable A and B and we want to see what the the result is when all together. X= A + B  We can define the rules OR sum in a table. A and B are variable that represent logic variable. A and B can be either 0 or 1 two possible values Hau Fung Moy Kwan, PhD. 6https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 9. Basic operations of Boolean algebra AND operation:  If we have two varaibles two logic variables A and B and we want to know what the result is X = A . B  We can use the truth table to define the rules for the AND operation  Let’s build it: Hau Fung Moy Kwan, PhD. 7 https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 10. Basic operations of Boolean algebra Not Operation:  The NOT operation is unlike the or and AND operation in that it can be performed on a single variable.  So, if we have a variable A subjective with a NOT operation the result X will be express: X= A Read as X equals Not A We can summarize this rules in a truth table with: Hau Fung Moy Kwan, PhD. 8https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 11. A B X=A + B 0 0 0 0 1 1 1 0 1 1 1 1 Basic operations of Boolean algebra Hau Fung Moy Kwan, PhD. 9 OR operation: Truth table with A and B as variables X= A +B Symbol OR operation A B C X=A + B 0 0 0 0 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 1 OR operation: Truth table with A , B and C as variables X= A +B + C A symbol OR operation B C
  • 12. Basic operations of Boolean algebra A B X=A . B 0 0 0 0 1 0 1 0 0 1 1 1 Truth table with A and B as variables Symbol AND operation A B X= A . B Note: like ordinary multiplication with AND multiplication you do not include the dot is understood. Keep it out or leave it out. X=AB A X= A 0 1 1 0 Symbol NOT operation A X=A inverter Complementation, Inversion Hau Fung Moy Kwan, PhD. 10
  • 13. Basic operations of Boolean algebra OR 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 1 Let’s summarize: AND 0 . 0 = 0 0 . 1 = 0 1 . 0 = 0 1 . 1 = 1 NOT 0 = 1 1 = 0 Hau Fung Moy Kwan, PhD. 11
  • 14. Boolean Theorems  Boolean algebra can be used to analyzed a logic circuit and express it is operation mathematically.  Once the Boolean expresion for a logic circuit has been obtained it may often be reduced to a simpler form using boolean algebra  The most important application of Boolean algebra that is the simplification of logic circuits.  By using Boolean theorems to simplify logic expressions Hau Fung Moy Kwan, PhD. 12
  • 15.  The first group of Boolean theorems we are going to define are: 1. Single variable theorems: we are going to dealing with one variable. X, X=0 or X=1 Boolean Theorems Hau Fung Moy Kwan, PhD. 13
  • 16. 2.- Multivariable theorems: Commutative laws; X+ Y= Y+X X.Y= Y.X The order in which we add or multiply two variables in unimportant. Associative law; X +(Y+Z)= (X+Y)+Z = X+Y+Z X(Y.Z)= (X.Y).Z = XYZ We can group the terms of a sum or product any way we want. Boolean Theorems Hau Fung Moy Kwan, PhD. 14
  • 17. Boolean Theorems 2.- Multivariable theorems: Distributive law; X(Y+Z)= XY + XZ An expression can be expanded by multiplying term by term X+XY =X X +XY=X+Y Now, let’s simplify an expression Y=ABD+ABD Hau Fung Moy Kwan, PhD. 15
  • 18. X X X 1 X 0 X X.0 = 0 X.1 = X X.X = X X. X = 0 X+0 = X X + 1= 1 X+X = X X+X = 1 X 0 0 X X 1 Boolean Theorems Single variable theorems Hau Fung Moy Kwan, PhD. 16 X X X 0 X X X 0 1 X 1 Let’s summarize:
  • 19. Boolean Theorems Multivariable theorems Hau Fung Moy Kwan, PhD. 17 Commutative laws; X+ Y= Y+X X.Y= Y.X Associative law; X +(Y+Z)= (X+Y)+Z = X+Y+Z X(Y.Z)= (X.Y).Z = XYZ Distributive law; X(Y+Z)= XY + XZ X+XY =X X +XY=X+Y Let’s summarize:
  • 20. Let’s proof some Boolean theorems 1. x + x = x 2. DeMorgan’s theorem, 𝑥 + 𝑦 = 𝑥 𝑦, their validity is easily shown with truth tables. For example: X Y X+ Y ( X + Y ) 0 0 0 1 0 1 1 0 1 0 1 0 1 1 1 0 X Y ( X + Y ) 1 1 1 1 0 0 0 1 0 0 0 0 Hau Fung Moy Kwan, PhD. 18
  • 21. What are the practical applications of logic gates?  You practically applied Millions of logic gates to inquire as to what is the practical application of logic gates.  That's because the logic gates are the building blocks for all computers, smart phones and the whole internet. Let’s see some day to day applications of the 3 basic gates, that a common person may relate to: OR Gate Hau Fung Moy Kwan, PhD. 19 ON/OFF Front Doorbell Switch Back Doorbell Switch 0 Doorbell ON/OFF If either the Front Door switch OR the Back Doorbell Switch is pressedthen the Doorbell rings
  • 22. AND Gate What are the practical applications of logic gates? ON/OFF Person Sensor Alarm Switch 0 Burglar Alarm ON/OFF ON/OFF If both the Person Sensor AND the Alarm Switch are on then the Burglar Alarm is activated Hau Fung Moy Kwan, PhD. 20https://es.slideshare.net/amuicita/boolean-algebra-102566803
  • 23. What are the practical applications of logic gates? NOT Gate Hau Fung Moy Kwan, PhD. 21 Tempeture Detector (Above 20 ℃ ) ON/OFF ON/OFF If the Temperature is Above 20 ℃ then the Central heating is switch off. If the Temperature is below20 ℃ then the Central heating is switch on. Central Heating
  • 24. Bibliography Books: Online web pages to practices: http://www.ee.surrey.ac.uk/Projects/Labview/boolalgebra/quiz/index.html https://math.stackexchange.com/questions/653201/exercise-regarding-boolean-algebra Personal Blog: https://sites.google.com/site/haumoy/ Canvas Hau Fung Moy Kwan, PhD. 22
  • 25. Thank You!!! “A person who never made a mistake never tried anything new” “Never give up on what you really want to do. The person with big dreams is more powerful than one with all the facts” -Albert Eistein amuicita@yahoo.com 385-202-9927 https://www.linkedin.com/in/hau-moy-4b491620/ https://sites.google.com/site/haumoy/ Canvas Hau Fung Moy Kwan, PhD. 23

Editor's Notes

  1. Therefore, this class provides a basic vocabulary and brief foundation in Boolean algebra that will enable you optimize simple circuits and to under-stand the purpose of algorithms used by software tools to optimize complex circuits involving millions of logical gates.