Professional Documents
Culture Documents
Logic Activity Worksheet
Logic Activity Worksheet
a) p ∧ q
b) p ∨ q
c) p → q
d) ¬p
2. Predicate logic: Translate the following statements into predicate logic using the
given predicates and variables:
a) "All dogs bark": D(x) represents "x is a dog" and B(x) represents "x barks"
b) "Some cats are black": C(x) represents "x is a cat" and B(x) represents "x is
black"
c) "No snakes fly": S(x) represents "x is a snake" and F(x) represents "x flies"
a) f(x) = x^2 + 1
2. Simplify the following statement using logical operators: "Either it is not raining
or it is cloudy, and if it is not raining then it must be windy."
3. Translate the following statement into propositional logic: "For every positive
integer n, there exists a prime number greater than n."
4. Translate the following statement into predicate logic: "All birds can fly."
5. Express the negation of the following statement using logical operators: "The
number 3 is an odd prime."
C. Create the logical statements of each real-life scenarios provided. Use the
appropriate logical connectives to create your logical statements.
Scenario 1: You notice that your phone is missing.
Scenario 4: You are at a restaurant and want to order a dessert, but you're not sure if
you have enough money.
a) x + 1 = 3
a) p ∧ q
b) p ∨ q
c) ¬p ∨ q
4. Which of the following is the contrapositive of the statement "If it rains, I will stay
inside"?
a) p ∧ ¬p
b) p ∨ ¬p
c) p → ¬p
6. Which logical operator has the highest precedence in the order of operations?
a) ¬
b) ∧
c) ∨
a) ¬p ∧ ¬q
b) ¬p ∨ ¬q
c) p ∧ q
a) If q then p
b) If ¬q then ¬p
c) If ¬p then ¬q
c) 2 + 2 = 5. Therefore, 1 + 1 = 2.
a) f(x) = x^2 + 1
c) c) ∃x (x + 3 = 7)
Prepared by:
JUNN REE B. MONTILLA, LPT