






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A portion of the course materials for csce 235, fall 2008, focusing on propositional logic. It covers defining propositions, connectives, truth tables, precedence of logical operators, and their use in various fields such as bitwise operations, theoretical computer science (sat), and programming. The document also includes exercises on propositions, truth values, conditional statements, and logical equivalences.
Typology: Study notes
1 / 11
This page cannot be seen from the preview
Don't miss anything!







Logic CSCE 235, Fall 2008
Defining Propositional Logic - Propositions - Connectives - Truth tables - Precedence of Logical Operators - Usefulness of Logic - Bitwise operations - Logic in Theoretical Computer Science (SAT) - Logic in Programming - Logical Equivalences - Terminology - Truth tables - Equivalence rules
Logic 235, Fall 2008
Logic 235, Fall 2008 Exercise1.1:
c)
(yes.
d)
(yes.
e) x+
(No.)
f) Answer this question. (No.)
Logic 235, Fall 2008 Exercise1.1:
If
then
If
then
If
then
If monkeys can fly, then
Logic 235, Fall 2008 Exercise1.1: Construct a truth table for each of these compound propositions.
a) p ∧ ¬ q^ p q p ∧ ¬ q
Logic 235, Fall 2008 Exercise1.1: Construct a truth table for each of these compound propositions.
a) p ∧ ¬ q^ p q p ∧ ¬ q 0 1 0 1 0 0
Logic 235, Fall 2008 Exercise1.1: Construct a truth table for each of these compound propositions.
c) (p ∨ ¬ q ) → q p q ¬ q p ∨ ¬ q (p ∨ ¬ q) → q 1 1 0 1 1 1 0 1 1 0 0 1 0 0 1 0 0 1 1 0
Logic 235, Fall 2008
a) p
q
q
p^ p q p ∨ q q ∨ p 0 0 0 0 0 1 1 1 1 0 1 1 1 1 1 1 The two columns in the truth table are identical, thus we conclude that p ∨ q ≡ q ∨ p