SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Disclaimer: This presentation is prepared by
trainees of baabtra as a part of mentoring
program. This is not official document of baabtra –
Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System
Technologies Pvt . Ltd
TRUTH TABLE AND PROBLEM
        SOLVING
            vishnu.padinjattedath@gmail.com
                             @Vishnu_Kishor
BOOLEAN ALGEBRA
• Boolean algebra (or Boolean logic) is a logical
  calculus of truth values
• It’s algebra of two values.
• These are usually taken to be 0 and 1
• Also F and T, false and true, etc. are also in
  common use.
TRUTH TABLE
• A truth table is a mathematical table used
  in logic—specifically in connection
  with Boolean algebra, boolean functions etc
• Used to compute the functional values of
  logical expressions on each of their functional
  arguments
• Each row of the truth table therefore contains
  one possible configuration of the input
  variables and the result of the operation for
  those values
LOGIC GATES
• A logic gate is an idealized or physical device used
  for implementing a Boolean function
• It performs a logical operation on one or more
  logic inputs and produces a single logic output
• Logic gates are primarily implemented
  using diodes or transistors acting as electronic
  switches
• can also be constructed using
  electromagnetic relays, fluidic logic, pneumatic
  logic, optics, molecules, or
  even mechanical elements.
Use a truth table to test the
  validity of the following
         argument.
Q1) If you invest in the VK Corporation, then
you get rich.
You didn't invest in the VK Corporation.
Therefore, you didn't get rich.

A. Valid
B. Invalid
• Step 1-Symbolize the argument.
  Let p be the statement "You invest in the VK
  Corporation."
  Let q be the statement "You get rich."Then the
  argument has this symbolic form:


• Step 2-Make a truth table having a column for
  each premise and for the conclusion
• Step 3-Interpret the truth table.
  Notice that in the third row, the conclusion is
  FALSE while both premises are TRUE.
  This tells us that the argument is INVALID.
Q2) If you are a hound dog, then you howl at
the moon.
You don't howl at the moon.
Therefore, you aren't a hound dog.

A. Valid
B. Invalid
• Step 1-Symbolize the argument.Let p be the
  statement "You are a hound dog."
  Let q be the statement "You howl at the
  moon.“.Then the argument has this symbolic
  form:


• Step 2-Make a truth table having a column for
  each premise and for the conclusion.
• Step 3-Interpret the truth table.
  Notice that in this truth table, there is NO
  ROW in which conclusion is FALSE while both
  premises are TRUE.
  This tells us that the argument is VALID.
Thank you
Did this presentation help you??? do visit our
 page facebook.com/baabtra and like us.

www.baabtra.com |
www.massbaab.com |
www.baabte.com |
Contact Us

Weitere ähnliche Inhalte

Ähnlich wie Problem solving using truth table

Ähnlich wie Problem solving using truth table (12)

Boolean Algebra part 2.ppt
Boolean Algebra part 2.pptBoolean Algebra part 2.ppt
Boolean Algebra part 2.ppt
 
Topic 5 (multiple regression)
Topic 5 (multiple regression)Topic 5 (multiple regression)
Topic 5 (multiple regression)
 
Digital Electronics basics book1_pdf.pdf
Digital Electronics basics book1_pdf.pdfDigital Electronics basics book1_pdf.pdf
Digital Electronics basics book1_pdf.pdf
 
Topic 5 (multiple regression)
Topic 5 (multiple regression)Topic 5 (multiple regression)
Topic 5 (multiple regression)
 
Lecture_11.pdf
Lecture_11.pdfLecture_11.pdf
Lecture_11.pdf
 
07 logistic regression and stochastic gradient descent
07 logistic regression and stochastic gradient descent07 logistic regression and stochastic gradient descent
07 logistic regression and stochastic gradient descent
 
Boolean & LogicGate
Boolean & LogicGateBoolean & LogicGate
Boolean & LogicGate
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
powerpoint 1-19.pdf
powerpoint 1-19.pdfpowerpoint 1-19.pdf
powerpoint 1-19.pdf
 
Week4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptxWeek4_BooleanAlgebra.pptx
Week4_BooleanAlgebra.pptx
 

Mehr von baabtra.com - No. 1 supplier of quality freshers

Mehr von baabtra.com - No. 1 supplier of quality freshers (20)

Agile methodology and scrum development
Agile methodology and scrum developmentAgile methodology and scrum development
Agile methodology and scrum development
 
Best coding practices
Best coding practicesBest coding practices
Best coding practices
 
Core java - baabtra
Core java - baabtraCore java - baabtra
Core java - baabtra
 
Acquiring new skills what you should know
Acquiring new skills   what you should knowAcquiring new skills   what you should know
Acquiring new skills what you should know
 
Baabtra.com programming at school
Baabtra.com programming at schoolBaabtra.com programming at school
Baabtra.com programming at school
 
99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love 99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love
 
Php sessions & cookies
Php sessions & cookiesPhp sessions & cookies
Php sessions & cookies
 
Php database connectivity
Php database connectivityPhp database connectivity
Php database connectivity
 
Chapter 6 database normalisation
Chapter 6  database normalisationChapter 6  database normalisation
Chapter 6 database normalisation
 
Chapter 5 transactions and dcl statements
Chapter 5  transactions and dcl statementsChapter 5  transactions and dcl statements
Chapter 5 transactions and dcl statements
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
 
Chapter 3 stored procedures
Chapter 3 stored proceduresChapter 3 stored procedures
Chapter 3 stored procedures
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 2  grouping,scalar and aggergate functions,joins   inner join,outer joinChapter 2  grouping,scalar and aggergate functions,joins   inner join,outer join
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Microsoft holo lens
Microsoft holo lensMicrosoft holo lens
Microsoft holo lens
 
Blue brain
Blue brainBlue brain
Blue brain
 
5g
5g5g
5g
 
Aptitude skills baabtra
Aptitude skills baabtraAptitude skills baabtra
Aptitude skills baabtra
 
Gd baabtra
Gd baabtraGd baabtra
Gd baabtra
 

Problem solving using truth table

  • 1.
  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra – Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3. TRUTH TABLE AND PROBLEM SOLVING vishnu.padinjattedath@gmail.com @Vishnu_Kishor
  • 4. BOOLEAN ALGEBRA • Boolean algebra (or Boolean logic) is a logical calculus of truth values • It’s algebra of two values. • These are usually taken to be 0 and 1 • Also F and T, false and true, etc. are also in common use.
  • 5. TRUTH TABLE • A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, boolean functions etc • Used to compute the functional values of logical expressions on each of their functional arguments
  • 6. • Each row of the truth table therefore contains one possible configuration of the input variables and the result of the operation for those values
  • 7. LOGIC GATES • A logic gate is an idealized or physical device used for implementing a Boolean function • It performs a logical operation on one or more logic inputs and produces a single logic output • Logic gates are primarily implemented using diodes or transistors acting as electronic switches • can also be constructed using electromagnetic relays, fluidic logic, pneumatic logic, optics, molecules, or even mechanical elements.
  • 8.
  • 9. Use a truth table to test the validity of the following argument.
  • 10. Q1) If you invest in the VK Corporation, then you get rich. You didn't invest in the VK Corporation. Therefore, you didn't get rich. A. Valid B. Invalid
  • 11. • Step 1-Symbolize the argument. Let p be the statement "You invest in the VK Corporation." Let q be the statement "You get rich."Then the argument has this symbolic form: • Step 2-Make a truth table having a column for each premise and for the conclusion
  • 12. • Step 3-Interpret the truth table. Notice that in the third row, the conclusion is FALSE while both premises are TRUE. This tells us that the argument is INVALID.
  • 13. Q2) If you are a hound dog, then you howl at the moon. You don't howl at the moon. Therefore, you aren't a hound dog. A. Valid B. Invalid
  • 14. • Step 1-Symbolize the argument.Let p be the statement "You are a hound dog." Let q be the statement "You howl at the moon.“.Then the argument has this symbolic form: • Step 2-Make a truth table having a column for each premise and for the conclusion.
  • 15. • Step 3-Interpret the truth table. Notice that in this truth table, there is NO ROW in which conclusion is FALSE while both premises are TRUE. This tells us that the argument is VALID.
  • 17. Did this presentation help you??? do visit our page facebook.com/baabtra and like us. www.baabtra.com | www.massbaab.com | www.baabte.com |