Read sections 3.2, 3.3, and 3.4 of the textbook.
-
- Consider p = “it is raining” and q = “there are clouds in the sky”. Write out English sentences corresponding to the following conditionals, and state whether or not they evaluate to True.
- p -> q
- ~p -> ~q
- q -> p
- ~q -> ~p
- Translate the following mathematical expression into an English sentence:

- This section discusses the fallacy of affirming the consequence. Relate this fallacy to your experience with testing the code you write. What does it mean about your testing?
- Consider p = “it is raining” and q = “there are clouds in the sky”. Write out English sentences corresponding to the following conditionals, and state whether or not they evaluate to True.