{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Com S 280 - Logic and Proofs

Com S 280 - Logic and Proofs - Logic and Proofs Definitions...

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

View Full Document Right Arrow Icon
Logic and Proofs - Definitions o proposition: A statement that is true or false o propositional Variable: a variable that represents a proposition o truth value: true or false o ¬ p (negation of p): the proposition with the true value opposition to the truth value of p o logical operators: operators used to combine propositions o compound proposition: a proposition constructed by combining propositions using logical operators o truth table: a table displaying the truth values of propositions o q p (disjunction of p and q): the proposition “p or q,” which is true if and only if at least one of p and q is true o q p (conjunction of p and q): the proposition “p and q,” which is true if and only if both p and q are true o q p (exclusive or of p and q): the proposition “p XOR q,” which is true when exactly one of p and q are true o q p (p implies q): the proposition “if p, then q,” which is false if and only if p is true and q is false o converse of q p : the conditional statement p q o contrapositive of q p : the conditional statement p q ¬ ¬ o inverse of q p : the conditional statement q p ¬ ¬ o q p (biconditional): the proposition “p if and only if q,” which is true if and only if p and q have the same truth value o bit: either a 0 or a 1 o boolean variable: a variable that has a value of 0 or 1 o bit operation: an operation of a bit or bits o bit string: a list of bits o
Image of page 1

Info icon This 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