Successfully reported this slideshow.
Upcoming SlideShare
×

# Truthtable

7,631 views

Published on

• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

### Truthtable

1. 1. Disclaimer:This presentation is prepared by trainees ofbaabtra as a part of mentoring program. This is not officialdocument of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .Ltd
2. 2. TRUTH TABLES Ashwin Anand V Email:ashwinanand99@gmail.com Facebook id:ashwinanand99@gmail.com
3. 3. 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.
4. 4. 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
5. 5. 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 TE.g.: T F Fp ^ q: This book is interesting, and I F T Fam staying at home. F F F
6. 6. 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.