SlideShare uma empresa Scribd logo
1 de 17
TRUTH OR CONSEQUENCES
Class 6 –TruthTables and Boolean Logic
Introduction
 Logic, Problem Solving, and Creativity
 From Gottlob Frege to Google Search
 George Boole – early 19th century
 Gottlob Frege, Charles Pierce – mid 19th century
 Emil Post, LudwigWittgenstein, and JohnVenn –
late 19th and early 20th centuries
 ENIAC – mid 20th century
 BackRubGoogolGoogle (1997)
 Y2K:World Domination? Google Earth!
Agenda
 Review and Debrief
 LateralThinking
 Assignments, etc.
 Boolean Math &TruthTables
 Propositional Logic
 Boolean Operations
 QuestTopic:
 Ruby Math and formatting features
 Project 1: Calculator/Converter
Review & Debrief
 Assignment Returned
 Noted
 Challenges, inspirations?
 Website Resources
 LateralThinking
Truth Tables
 What is the truth?
 Propositional Logic
 True/false
 Yes/No
 1/0
 On/Off
Conditions & Operations
 What is a condition?
 Logical Operations
 NOT (~)
 AND (^)
 OR (v)
 XOR (⊕)
Conditions & Operations - NOT
 Condition A = <25 years-old
A ~A
F T
T F
Conditions & Operations - NOT
 Condition B = green eyes
B ~B
F T
T F
Conditions & Operations - AND
 Condition A=<25 years-old
 Condition B = green eyes
A B A ^ B
F F F
F T F
T F F
T T T
Conditions & Operations - OR
 Condition A=<25 years-old
 Condition B = green eyes
A B A v B
F F F
F T T
T F T
T T T
Conditions & Operations - XOR
 Condition A=<25 years-old
 Condition B = green eyes
A B A ⊕ B
F F F
F T T
T F T
T T F
Combining Operations
 Condition A=<25 years-old
 Condition B = green eyes
A B A ^ B ~( A ^ B )
F F F T
F T F T
T F F T
T T T F
Logical Equivalence
 Condition A=<25 years-old
 Condition B = green eyes
A B ~A ~B A ^ B ~( ~A v ~B )
F F T T F F
F T T F F F
T F F T F F
T T F F T T
Exercises
 Parenthetic Expressions
 NSCC Grading Policy
 Prior Learning Assessment at NSCC
Boolean Operations & Computing
 Boolean Operations in Internet Searches
 Filter and fine-tune searches
 Fewer and better results
 Boolean Operations in Databases
 Filter and fine-tune searches
 Fewer and better results
 Analysis and reporting
 Writing Code
 Conditional logic
Summary
 Propositional Math
 Boolean Logic &TruthTables
 Operations
 Negation
 Conjunction
 Disjunction
 Exclusive Disjunction
 Applying to real-world/ computing problems
 Assignment 5 – Math Review
Assignment
 Assignment 5: Math Review
 Grade 5%
 Due: 2 weeks

Mais conteúdo relacionado

Mais de Stephen Parsons

Mais de Stephen Parsons (19)

Atlantic Woodworkers Website Strategy
Atlantic Woodworkers Website StrategyAtlantic Woodworkers Website Strategy
Atlantic Woodworkers Website Strategy
 
Chairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGMChairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGM
 
Class 10 Arrays
Class 10 ArraysClass 10 Arrays
Class 10 Arrays
 
Program Renewal for NSCC Schools 2010-11
Program Renewal for NSCC Schools 2010-11Program Renewal for NSCC Schools 2010-11
Program Renewal for NSCC Schools 2010-11
 
Class 7 lecture notes
Class 7 lecture notesClass 7 lecture notes
Class 7 lecture notes
 
Class 6a ruby math
Class 6a   ruby mathClass 6a   ruby math
Class 6a ruby math
 
Class 5 - Set Theory and Venn Diagrams
Class 5 - Set Theory and Venn DiagramsClass 5 - Set Theory and Venn Diagrams
Class 5 - Set Theory and Venn Diagrams
 
Class 4 IPO and Intro to Ruby
Class 4 IPO and Intro to RubyClass 4 IPO and Intro to Ruby
Class 4 IPO and Intro to Ruby
 
Class 3 Binary & Hexadecimal
Class 3 Binary & HexadecimalClass 3 Binary & Hexadecimal
Class 3 Binary & Hexadecimal
 
Class 2 Math I
Class 2 Math IClass 2 Math I
Class 2 Math I
 
Class 1 introduction to logic & problem solving
Class 1   introduction to logic & problem solvingClass 1   introduction to logic & problem solving
Class 1 introduction to logic & problem solving
 
Portfolio Of A Community
Portfolio Of A CommunityPortfolio Of A Community
Portfolio Of A Community
 
Cause & effect analysis part 2
Cause & effect analysis part 2Cause & effect analysis part 2
Cause & effect analysis part 2
 
Cause & effect analysis part 1
Cause & effect analysis part 1Cause & effect analysis part 1
Cause & effect analysis part 1
 
Class 11 lecture notes
Class 11 lecture notesClass 11 lecture notes
Class 11 lecture notes
 
Class 10 Lecture Notes
Class 10  Lecture  NotesClass 10  Lecture  Notes
Class 10 Lecture Notes
 
Class 9 Lecture Notes
Class 9 Lecture NotesClass 9 Lecture Notes
Class 9 Lecture Notes
 
Class 8 Lecture Notes
Class 8 Lecture NotesClass 8 Lecture Notes
Class 8 Lecture Notes
 
Deck Project Phase II
Deck Project Phase IIDeck Project Phase II
Deck Project Phase II
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Último (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 

Class 6 truth tables and boolean math

  • 1. TRUTH OR CONSEQUENCES Class 6 –TruthTables and Boolean Logic
  • 2. Introduction  Logic, Problem Solving, and Creativity  From Gottlob Frege to Google Search  George Boole – early 19th century  Gottlob Frege, Charles Pierce – mid 19th century  Emil Post, LudwigWittgenstein, and JohnVenn – late 19th and early 20th centuries  ENIAC – mid 20th century  BackRubGoogolGoogle (1997)  Y2K:World Domination? Google Earth!
  • 3. Agenda  Review and Debrief  LateralThinking  Assignments, etc.  Boolean Math &TruthTables  Propositional Logic  Boolean Operations  QuestTopic:  Ruby Math and formatting features  Project 1: Calculator/Converter
  • 4. Review & Debrief  Assignment Returned  Noted  Challenges, inspirations?  Website Resources  LateralThinking
  • 5. Truth Tables  What is the truth?  Propositional Logic  True/false  Yes/No  1/0  On/Off
  • 6. Conditions & Operations  What is a condition?  Logical Operations  NOT (~)  AND (^)  OR (v)  XOR (⊕)
  • 7. Conditions & Operations - NOT  Condition A = <25 years-old A ~A F T T F
  • 8. Conditions & Operations - NOT  Condition B = green eyes B ~B F T T F
  • 9. Conditions & Operations - AND  Condition A=<25 years-old  Condition B = green eyes A B A ^ B F F F F T F T F F T T T
  • 10. Conditions & Operations - OR  Condition A=<25 years-old  Condition B = green eyes A B A v B F F F F T T T F T T T T
  • 11. Conditions & Operations - XOR  Condition A=<25 years-old  Condition B = green eyes A B A ⊕ B F F F F T T T F T T T F
  • 12. Combining Operations  Condition A=<25 years-old  Condition B = green eyes A B A ^ B ~( A ^ B ) F F F T F T F T T F F T T T T F
  • 13. Logical Equivalence  Condition A=<25 years-old  Condition B = green eyes A B ~A ~B A ^ B ~( ~A v ~B ) F F T T F F F T T F F F T F F T F F T T F F T T
  • 14. Exercises  Parenthetic Expressions  NSCC Grading Policy  Prior Learning Assessment at NSCC
  • 15. Boolean Operations & Computing  Boolean Operations in Internet Searches  Filter and fine-tune searches  Fewer and better results  Boolean Operations in Databases  Filter and fine-tune searches  Fewer and better results  Analysis and reporting  Writing Code  Conditional logic
  • 16. Summary  Propositional Math  Boolean Logic &TruthTables  Operations  Negation  Conjunction  Disjunction  Exclusive Disjunction  Applying to real-world/ computing problems  Assignment 5 – Math Review
  • 17. Assignment  Assignment 5: Math Review  Grade 5%  Due: 2 weeks