cs2022a16quiz03.pdf

cs2022a16quiz03.pdf - Ma2201/CS2022 Quiz 0011 Discrete...

• Test Prep
• 1

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

Ma2201/CS2022 Discrete Mathematics A Term, 2016 Quiz 0011 Print Name: Sign: 1. ( 4 pts ) Let p be the statement “I have slept five hours”. Let q be the statement “I have a hot cup of coffee”. Let r be the statement “I get up in the morning”. Which of the following expresses the statement I cannot get up in the morning unless I have slept five hours and have a hot cup of coffee. Choose all that are correct. ( p q ) ( ¬ r ⇒ ¬ p ) p ( q r ) ( q r ) p ¬ p ( q r ) When is it false? If he gets up in the morning and has either not slept five hours, or has no cup of coffee. So the statement is ¬ ( r ( ¬ p ∨ ¬ q ). By Demorgan’s law it is ¬ r ( p q ). So the given statement is always true if r is false, and only the third statement has that property. But the third statement is always true if p is true, which is not a property of the given statement. So none of the statements are equivalent to the given statement.
This is the end of the preview. Sign up to access the rest of the document.
• Spring '10
• PeterChristopher

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