Question:

How do i find the thruth value of a statement?

by  |  earlier

0 LIKES UnLike

like when it says if p is false, q is true and r is true, determine the truth value of each statement.

(p or q) and r

 Tags:

   Report

2 ANSWERS


  1. Work the set inside parentheses first, just like math:

    (p OR q) => Is either P or Q (or both) true?  Yes.  Then (p or q) is true.

    The AND operator requires both values to be true.  You know already (p or q) is true; you just need to know that R is true, too.  This means the entire expression is true, and you're good to go.

    In programming, if it's true, the value is 1.  If it's false, it's 0.  Depending on what class you're doing this question for, that may be relevant.


  2. You see if the whole statement gives a true value. I.e., p is false, but we need (p OR q), so that part is ok since q is true. r is true, so (p OR q) AND r is true. If r were false, it would be false (since both parts of the sentence would not be fulfilled), and if both p and q were false, the sentence would also fail.

    Happy solving.

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions