assign1 - CMPT260 Assignment#1 Due:Sept.24,2013 1 ,.Be a...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CMPT 260 Assignment #1 Propositional Calculus Due: Sept. 24, 2013 1. For each of the following English statements, give the equivalent propositional expression. Be sure to define all propositions used. a. Either x does not have the value 2 or the program will crash. b. An error message will be printed if a wrong value is obtained. c. Handling the three cases is sufficient for the program to work. d. I will get the program working only if I figure out this bug. e. To get this assignment done it is necessary and sufficient for the program to be correct and the printer to be working. 2. Use the precedence rules to give the fully parenthesised logical expression that is equivalent to the following logical expression: A B A ¬ C B D E. 3. For the following expression, determine whether it is a tautology, a contradiction or a contingent by giving its truth table (P Q) ¬ (Q P). 4. Prove that (A ¬ B) (B A) ¬ B using the precedence rules and the laws for statement algebra. Be sure to state each rule or law
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern