SlideShare a Scribd company logo
1 of 10
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 TABLES
     Ashwin Anand V
     Email:ashwinanand99@gmail.com
     Facebook id:ashwinanand99@gmail.com
Introduction
• The truth value of a statement is the classification as true
  or false which denoted by T or F.

• A truth table is a listing of all possible combinations of the
  individual statements as true or false, along with the
  resulting truth value of the compound statements.

• Truth tables are an aide in distinguishing valid and invalid
  arguments.
Truth Table for ~p                E.g.:
                                  p: This book is interesting.
                                  ~ p: can be read as:
                                  This book is not interesting.

• Recall that the negation of a        p             ~p
  statement is the denial of       This book is
  the statement.                   interesting.
• Note that since the              This book is   This book is
  statement p could be true        interesting.       not
  or false, we have 2 rows in                     interesting
  the truth table.                 This book is   This book is
                                       not        interesting.
                                   interesting
Truth Table for p ^ q
 • Recall that the conjunction
   is the joining of two                     p        q     p^q
   statements with the word
                                           This     I am
   and.
                                          book is staying
 • The number of rows in this
                                         interesti    at
   truth table will be 4. (Since
   p has 2 values, and q has 2              ng.    home.
   value.)                                   T        T      T
E.g.:                                       T        F       F
p ^ q: This book is interesting, and I
                                            F        T       F
am staying at home.
                                            F        F       F
Truth Table for p v q
• Recall that a disjunction is the
   joining of two statements with             p           q     pvq
   the word or.
                                          This book     I am
• For a disjunction to be true, at            is      staying
   least one of the statements
                                         interesting at home.
   must be true.
• A disjunction is only false, if             T           T      T
   both statements are false.                T          F        T
 E.g.:                                       F          T        T
 p v q: This book is interesting, or I
                                             F          F        F
 am staying at home.
• If this presentation helped you, please visit
  our page facebook.com/baabtra and like it.
  Thanks in advance.

• www.baabtra.com | www.massbaab.com |ww
  w.baabte.com
Thank you
Contact Us

More Related Content

More from baabtra.com - No. 1 supplier of quality freshers

More from 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
 

Truthtable

  • 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 TABLES Ashwin Anand V Email:ashwinanand99@gmail.com Facebook id:ashwinanand99@gmail.com
  • 4. Introduction • The truth value of a statement is the classification as true or false which denoted by T or F. • A truth table is a listing of all possible combinations of the individual statements as true or false, along with the resulting truth value of the compound statements. • Truth tables are an aide in distinguishing valid and invalid arguments.
  • 5. Truth Table for ~p E.g.: p: This book is interesting. ~ p: can be read as: This book is not interesting. • Recall that the negation of a p ~p statement is the denial of This book is the statement. interesting. • Note that since the This book is This book is statement p could be true interesting. not or false, we have 2 rows in interesting the truth table. This book is This book is not interesting. interesting
  • 6. Truth Table for p ^ q • Recall that the conjunction is the joining of two p q p^q statements with the word This I am and. book is staying • The number of rows in this interesti at truth table will be 4. (Since p has 2 values, and q has 2 ng. home. value.) T T T E.g.: T F F p ^ q: This book is interesting, and I F T F am staying at home. F F F
  • 7. Truth Table for p v q • Recall that a disjunction is the joining of two statements with p q pvq the word or. This book I am • For a disjunction to be true, at is staying least one of the statements interesting at home. must be true. • A disjunction is only false, if T T T both statements are false. T F T E.g.: F T T p v q: This book is interesting, or I F F F am staying at home.
  • 8. • If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. • www.baabtra.com | www.massbaab.com |ww w.baabte.com