SlideShare a Scribd company logo
1 of 19
Download to read offline
Mediotype

1 + 1 = 1...Duh!

Boolean Algebra
M
Order of operations
Please Excuse My Dear Aunt Sally
PEMDAS
Parentheses, Exponents, Multiplication,
Division, Addition, Subtraction
(4+2-1*5) + 3*2 = ?
2*2/4 = ?

M
A Quick Word On Variables
var·i·a·ble
/ˈve(ə)rēəbəl/
Noun:
An element, feature, or factor that is liable to
vary or change.

M
A Quick Word On Variables (cont)
Variables
In algebraic expressions, letters represent
variables. These letters are actually numbers in
disguise. In this expression, the variables are x
and y. We call these letters "variables" because
the numbers they represent can vary—that is,
we can substitute one or more numbers for the
letters in the expression.

M
A Quick Word On Variables (cont)
Algebra
3 + x = 10
-3
-3
x = 10 - 3
x=7

It's a place holder.
M
Questions?
diveinto@mediotype.com

M
Basic Operations
AND x∧y = x*y
$x AND $y
$x && $y
x∧y

• 
• 
• 

OR x∨y = x + y - x*y
x OR y
x || y
x∨y

• 
• 
• 

NOT ¬x = 1 - x
!$x
¬x

• 
• 

M
Basic Operations
AND x∧y = x*y
$x AND $y
$x && $y
x∧y

• 
• 
• 

OR x∨y = x + y - x*y
x OR y
x || y
x∨y

• 
• 
• 

NOT ¬x = 1 - x
!$x
¬x

• 
• 

M
AND, &&, ∧
Truth table

x∧y = x*y

M
OR, ||, ∨
Truth table

x∨y = x + y - x*y

M
NOT, !, ¬
Truth table ... or is it

¬x = 1 - x

M
Questions?
diveinto@mediotype.com

M
1. 

TRUE AND TRUE = ?

2. 

!TRUE || FALSE = ?

3. 

(FALSE OR FALSE) AND TRUE = ?

4. 

!TRUE = ?

5. 

TRUE && TRUE && FALSE = ?

6. 

TRUE ∧ FALSE ∨ TRUE = ?

7. 

(TRUE AND TRUE) AND (TRUE OR FALSE) = ?

8. 

¬FALSE ∨ FALSE = ?

Exercise

M
Derived operations
NOR
!($x) OR $y
x → y = (¬x ∨ y)

• 
• 

XNOR
!(x XOR y)
x ≡ y = ¬(x ⊕ y)

• 
• 

XOR
$x XOR $y
x ⊕ y = (x ∨ y) ∧ ¬(x ∧ y)

• 
• 

M
NOR, →
Truth table

x → y = (¬x ∨ y)

M
XOR, ⊕
Truth table

x ⊕ y = (x ∨ y) ∧ ¬(x ∧ y)

M
XNOR, ≡
Truth table

x ≡ y = ¬(x ⊕ y)

M
Questions?
diveinto@mediotype.com

M
1. 

TRUE XOR TRUE = ?

2. 

¬TRUE ⊕ FALSE = ?

3. 

(FALSE ∨ FALSE) ≡ TRUE = ?

4. 

TRUE → FALSE = ?

5. 

TRUE XOR TRUE XNOR FALSE = ?

Exercise

M

More Related Content

What's hot

Continuous functions
Continuous functionsContinuous functions
Continuous functionssumanmathews
 
Relation and function
Relation and functionRelation and function
Relation and functionAadityaGera
 
AA Section 8-2
AA Section 8-2AA Section 8-2
AA Section 8-2Jimbo Lamb
 
Writing Function Rules
Writing Function RulesWriting Function Rules
Writing Function RulesBitsy Griffin
 
P9 differentiation byrule
P9 differentiation byruleP9 differentiation byrule
P9 differentiation byrulewalshbarbaram
 
Relations and functions
Relations and functionsRelations and functions
Relations and functionsDreams4school
 
Relations and functions remediation notes
Relations and functions remediation notesRelations and functions remediation notes
Relations and functions remediation notescarolinevest77
 
7 3 by linear combinations - day 1
7 3 by linear combinations - day 17 3 by linear combinations - day 1
7 3 by linear combinations - day 1bweldon
 
Relations and functions
Relations and functionsRelations and functions
Relations and functionsThabani Masoka
 
Evaluating and Graphing Polynomial Functions
Evaluating and Graphing Polynomial FunctionsEvaluating and Graphing Polynomial Functions
Evaluating and Graphing Polynomial Functionsswartzje
 
Graphing, Slope, And Special Lines
Graphing, Slope, And Special LinesGraphing, Slope, And Special Lines
Graphing, Slope, And Special Lineskliegey524
 
Algebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomialsAlgebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomialsFarhanSiregar2
 
Two point form Equation of a line
Two point form Equation of a lineTwo point form Equation of a line
Two point form Equation of a lineJoseph Nilo
 
Simplifying expressions
Simplifying expressionsSimplifying expressions
Simplifying expressionsZain Masood
 
Polynomial kavi ppt
Polynomial kavi pptPolynomial kavi ppt
Polynomial kavi pptkavidevu
 

What's hot (20)

Continuous functions
Continuous functionsContinuous functions
Continuous functions
 
Relation and functions
Relation and functionsRelation and functions
Relation and functions
 
Relation and function
Relation and functionRelation and function
Relation and function
 
AA Section 8-2
AA Section 8-2AA Section 8-2
AA Section 8-2
 
Writing Function Rules
Writing Function RulesWriting Function Rules
Writing Function Rules
 
P9 differentiation byrule
P9 differentiation byruleP9 differentiation byrule
P9 differentiation byrule
 
Mathematics 10 (Quarter Two)
Mathematics 10 (Quarter Two)Mathematics 10 (Quarter Two)
Mathematics 10 (Quarter Two)
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Relations and functions remediation notes
Relations and functions remediation notesRelations and functions remediation notes
Relations and functions remediation notes
 
7 3 by linear combinations - day 1
7 3 by linear combinations - day 17 3 by linear combinations - day 1
7 3 by linear combinations - day 1
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Evaluating and Graphing Polynomial Functions
Evaluating and Graphing Polynomial FunctionsEvaluating and Graphing Polynomial Functions
Evaluating and Graphing Polynomial Functions
 
Graphing, Slope, And Special Lines
Graphing, Slope, And Special LinesGraphing, Slope, And Special Lines
Graphing, Slope, And Special Lines
 
Algebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomialsAlgebra presentation on topic modulus function and polynomials
Algebra presentation on topic modulus function and polynomials
 
Two point form Equation of a line
Two point form Equation of a lineTwo point form Equation of a line
Two point form Equation of a line
 
Simplifying expressions
Simplifying expressionsSimplifying expressions
Simplifying expressions
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Alg2 lesson 7-6
Alg2 lesson 7-6Alg2 lesson 7-6
Alg2 lesson 7-6
 
Polynomial kavi ppt
Polynomial kavi pptPolynomial kavi ppt
Polynomial kavi ppt
 

Viewers also liked

BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA Shaik Aman
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraRania H
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3wajanga
 
Logical operations & boolean algebra
Logical operations & boolean algebraLogical operations & boolean algebra
Logical operations & boolean algebraAndrei Jechiu
 
Data representation and boolean algebra
Data representation and boolean algebraData representation and boolean algebra
Data representation and boolean algebragourav kottawar
 
Ch 2 lattice & boolean algebra
Ch 2 lattice & boolean algebraCh 2 lattice & boolean algebra
Ch 2 lattice & boolean algebraRupali Rana
 
Lattices AND Hasse Diagrams
Lattices AND Hasse DiagramsLattices AND Hasse Diagrams
Lattices AND Hasse DiagramsDebarati Das
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesImran Waris
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebragavhays
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraGagan Deep
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 

Viewers also liked (20)

Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
BOOLEAN ALGEBRA
BOOLEAN ALGEBRA BOOLEAN ALGEBRA
BOOLEAN ALGEBRA
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
Logical operations & boolean algebra
Logical operations & boolean algebraLogical operations & boolean algebra
Logical operations & boolean algebra
 
boolean algebra(continued)
boolean algebra(continued)boolean algebra(continued)
boolean algebra(continued)
 
Boolean algebra
 Boolean algebra Boolean algebra
Boolean algebra
 
Data representation and boolean algebra
Data representation and boolean algebraData representation and boolean algebra
Data representation and boolean algebra
 
Ch 2 lattice & boolean algebra
Ch 2 lattice & boolean algebraCh 2 lattice & boolean algebra
Ch 2 lattice & boolean algebra
 
Lattices AND Hasse Diagrams
Lattices AND Hasse DiagramsLattices AND Hasse Diagrams
Lattices AND Hasse Diagrams
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 

Similar to Introduction to boolean algebra

Properties of Addition & Multiplication
Properties of Addition & MultiplicationProperties of Addition & Multiplication
Properties of Addition & Multiplicationitutor
 
K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)
K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)
K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)LiGhT ArOhL
 
Mathematicsq3 k-12
Mathematicsq3 k-12Mathematicsq3 k-12
Mathematicsq3 k-12Lex Lee
 
Contextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One VariableContextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One VariableDepartment of Education - Philippines
 
Tutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitiesTutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitieskhyps13
 
mgpia3e_ppt_01_08.ppt
mgpia3e_ppt_01_08.pptmgpia3e_ppt_01_08.ppt
mgpia3e_ppt_01_08.pptelle155401
 
PPT on Rational Numbers.ppt
PPT on Rational Numbers.pptPPT on Rational Numbers.ppt
PPT on Rational Numbers.pptAkshayaArora3
 
5.1 expressions powerpoint
5.1 expressions powerpoint5.1 expressions powerpoint
5.1 expressions powerpointCristen Gillett
 
Combine liketerms
Combine liketermsCombine liketerms
Combine liketermsWade II
 
Mathematical Equations
Mathematical EquationsMathematical Equations
Mathematical Equationsnathath742
 
Mathematics power point presenttation on the topic
Mathematics power point presenttation on the topicMathematics power point presenttation on the topic
Mathematics power point presenttation on the topicMeghansh Gautam
 

Similar to Introduction to boolean algebra (20)

Math1
Math1Math1
Math1
 
Properties of Addition & Multiplication
Properties of Addition & MultiplicationProperties of Addition & Multiplication
Properties of Addition & Multiplication
 
K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)
K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)
K TO 12 GRADE 7 LEARNING MODULE IN MATHEMATICS (Quarter 3)
 
Mathematicsq3 k-12
Mathematicsq3 k-12Mathematicsq3 k-12
Mathematicsq3 k-12
 
grade 7 Math quarter 3
grade 7 Math quarter 3grade 7 Math quarter 3
grade 7 Math quarter 3
 
Contextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One VariableContextualized Lesson Plan in Math 7 Linear Equation in One Variable
Contextualized Lesson Plan in Math 7 Linear Equation in One Variable
 
Tutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitiesTutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalities
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
mgpia3e_ppt_01_08.ppt
mgpia3e_ppt_01_08.pptmgpia3e_ppt_01_08.ppt
mgpia3e_ppt_01_08.ppt
 
PPT on Rational Numbers.ppt
PPT on Rational Numbers.pptPPT on Rational Numbers.ppt
PPT on Rational Numbers.ppt
 
5.1 expressions powerpoint
5.1 expressions powerpoint5.1 expressions powerpoint
5.1 expressions powerpoint
 
Combine liketerms
Combine liketermsCombine liketerms
Combine liketerms
 
Differentiation and integration
Differentiation and integrationDifferentiation and integration
Differentiation and integration
 
Differentiation and integration
Differentiation and integrationDifferentiation and integration
Differentiation and integration
 
Differentiation and integration
Differentiation and integrationDifferentiation and integration
Differentiation and integration
 
.
..
.
 
order of operations
order of operationsorder of operations
order of operations
 
Mathematical Equations
Mathematical EquationsMathematical Equations
Mathematical Equations
 
Solving equations
Solving equationsSolving equations
Solving equations
 
Mathematics power point presenttation on the topic
Mathematics power point presenttation on the topicMathematics power point presenttation on the topic
Mathematics power point presenttation on the topic
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Introduction to boolean algebra

  • 1. Mediotype 1 + 1 = 1...Duh! Boolean Algebra M
  • 2. Order of operations Please Excuse My Dear Aunt Sally PEMDAS Parentheses, Exponents, Multiplication, Division, Addition, Subtraction (4+2-1*5) + 3*2 = ? 2*2/4 = ? M
  • 3. A Quick Word On Variables var·i·a·ble /ˈve(ə)rēəbəl/ Noun: An element, feature, or factor that is liable to vary or change. M
  • 4. A Quick Word On Variables (cont) Variables In algebraic expressions, letters represent variables. These letters are actually numbers in disguise. In this expression, the variables are x and y. We call these letters "variables" because the numbers they represent can vary—that is, we can substitute one or more numbers for the letters in the expression. M
  • 5. A Quick Word On Variables (cont) Algebra 3 + x = 10 -3 -3 x = 10 - 3 x=7 It's a place holder. M
  • 7. Basic Operations AND x∧y = x*y $x AND $y $x && $y x∧y •  •  •  OR x∨y = x + y - x*y x OR y x || y x∨y •  •  •  NOT ¬x = 1 - x !$x ¬x •  •  M
  • 8. Basic Operations AND x∧y = x*y $x AND $y $x && $y x∧y •  •  •  OR x∨y = x + y - x*y x OR y x || y x∨y •  •  •  NOT ¬x = 1 - x !$x ¬x •  •  M
  • 9. AND, &&, ∧ Truth table x∧y = x*y M
  • 10. OR, ||, ∨ Truth table x∨y = x + y - x*y M
  • 11. NOT, !, ¬ Truth table ... or is it ¬x = 1 - x M
  • 13. 1.  TRUE AND TRUE = ? 2.  !TRUE || FALSE = ? 3.  (FALSE OR FALSE) AND TRUE = ? 4.  !TRUE = ? 5.  TRUE && TRUE && FALSE = ? 6.  TRUE ∧ FALSE ∨ TRUE = ? 7.  (TRUE AND TRUE) AND (TRUE OR FALSE) = ? 8.  ¬FALSE ∨ FALSE = ? Exercise M
  • 14. Derived operations NOR !($x) OR $y x → y = (¬x ∨ y) •  •  XNOR !(x XOR y) x ≡ y = ¬(x ⊕ y) •  •  XOR $x XOR $y x ⊕ y = (x ∨ y) ∧ ¬(x ∧ y) •  •  M
  • 15. NOR, → Truth table x → y = (¬x ∨ y) M
  • 16. XOR, ⊕ Truth table x ⊕ y = (x ∨ y) ∧ ¬(x ∧ y) M
  • 17. XNOR, ≡ Truth table x ≡ y = ¬(x ⊕ y) M
  • 19. 1.  TRUE XOR TRUE = ? 2.  ¬TRUE ⊕ FALSE = ? 3.  (FALSE ∨ FALSE) ≡ TRUE = ? 4.  TRUE → FALSE = ? 5.  TRUE XOR TRUE XNOR FALSE = ? Exercise M