Logic - 2. Let r and s be the propositions: r: You were...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Danny Rojas CS 170 Sec 10 TA: Kunchakarra, Srivatsav Logic 1. Let p and q be the propositions: p: I saw a football game q :I had a good time Express the following as English sentences: a. ¬p b. p q ˄ c. ¬p q ˅ d. (¬p ¬q) p ˄ ˅ e. ¬p -> ¬q Answer: a. I didn’t see a football game b. I saw a football game and I had a good time c. I didn’t see a football or I had a good time d. I did not see a football game and did not have a good time or I saw a football game e. If I did not see a football game then I did not have a good time
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2. Let r and s be the propositions: r: You were tired. s: You took a nap. Express the following as logical statements: a. You did not take a nap. b. If you took a nap then you were tired c. You took a nap or you were not tired d. You were not tired and you did not take a nap e. You were tired and you took a nap, or you were not tired. Answer: a. s b. s -> r c. s r d. r s e. (r s) r...
View Full Document

Ask a homework question - tutors are online