Is the sentence 'Close the door' true or false?
Is the sentence 'Close the door' true or false?
3 lessons, about 1 h 20 min3 simulations10 problems3 practice questionsPython in every lesson
A statement is a sentence that is either true or false, but not both. Questions, commands, wishes and opinions are not statements, and an open sentence such as becomes one only when is fixed. The negation of a statement is true exactly when is false. Negating needs care: the negation of ' is positive' is ' is not positive', not ' is negative'.
The connective and gives , true only when both parts are true. The inclusive or gives , false only when both parts are false; the exclusive or is true when exactly one part is true. A truth table lists every combination of truth values, rows for simple statements, and works out the compound statement column by column.
A tautology is true in every row of its truth table and a contradiction is false in every row; any other statement is a contingency. Two statements are equivalent, , when their columns agree. De Morgan's laws, the distributive, identity, complement and absorption laws simplify statements, and the dual of a law is a law. In a switching circuit, series is and, parallel is or.
Log in to join the discussion.
Loading…