Computer Science
Let X=1 represents "you work hard" and 0 otherwise.
Let Y=1 represents "you succeed" and 0 otherwise.
Using the information given above, construct:
(i) the truth table and
(ii) the logical expression for the following statement:
"If and only if you work hard you succeed".
Boolean Algebra
4 Likes
Answer
Truth Table
| X | Y | X ⇔ Y |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Logical expression for the statement will be:
X ⇔ Y = X'.Y' + X.Y
Answered By
2 Likes
Related Questions
(i) Let P : He has fax and Q : He uses e-mail.
Write the following statement in terms of P and Q:
He has fax and he may or may not use e-mail.Write the law of conditional elimination.
Draw the truth table to prove the following proportional expression:
a ⇒ b = (a ⇒ b) . (b ⇒ a)
Determine whether the given expression is valid or not:
(p ⇒ q) ⇒ [~q ⇒ (~p^~q)]