CS
Logic

# Logic - Danny Rojas CS 170 Sec 10 TA Kunchakarra Srivatsav...

• Notes
• 1

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

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
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

• Spring '09
• Ganu
• Logic, Following, Black-and-white films, football game

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern