{"id":452,"date":"2025-01-15T17:01:15","date_gmt":"2025-01-15T17:01:15","guid":{"rendered":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/?page_id=452"},"modified":"2025-01-28T14:19:54","modified_gmt":"2025-01-28T14:19:54","slug":"boolean-expressions-predicates-and-valid-arguments","status":"publish","type":"page","link":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/schedule\/boolean-expressions-predicates-and-valid-arguments\/","title":{"rendered":"Boolean Expressions, Predicates, and Valid Arguments"},"content":{"rendered":"<p>Read sections 3.2, 3.3, and 3.4 of the textbook.<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Consider p = \u201cit is raining\u201d and q = \u201cthere are clouds in the sky\u201d. Write out English sentences corresponding to the following conditionals, and state whether or not they evaluate to True.\n<ol>\n<li>p -&gt; q<\/li>\n<li>~p -&gt; ~q<\/li>\n<li>q -&gt; p<\/li>\n<li>~q -&gt; ~p<\/li>\n<\/ol>\n<\/li>\n<li>Translate the following mathematical expression into an English sentence:<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-477\" src=\"http:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-content\/uploads\/2025\/01\/ql_54ba00e605ad4f56212c0cd4fb5e4ae7_l3.png\" alt=\"\" width=\"240\" height=\"16\" \/><\/li>\n<li>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?<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Read sections 3.2, 3.3, and 3.4 of the textbook. Consider p = \u201cit is raining\u201d and q = \u201cthere are clouds in the sky\u201d. Write out English sentences corresponding to the following conditionals, and state whether or not they evaluate to True. p -&gt; q ~p -&gt; ~q q -&gt; p ~q -&gt; ~p Translate &#8230; <a title=\"Boolean Expressions, Predicates, and Valid Arguments\" class=\"read-more\" href=\"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/schedule\/boolean-expressions-predicates-and-valid-arguments\/\" aria-label=\"Read more about Boolean Expressions, Predicates, and Valid Arguments\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":29,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-452","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/pages\/452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/comments?post=452"}],"version-history":[{"count":8,"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/pages\/452\/revisions"}],"predecessor-version":[{"id":474,"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/pages\/452\/revisions\/474"}],"up":[{"embeddable":true,"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/pages\/29"}],"wp:attachment":[{"href":"https:\/\/eikmeier.sites.grinnell.edu\/csc-208-spring-2025\/wp-json\/wp\/v2\/media?parent=452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}