Discrete Structure Prelim
Discrete Structure Prelim
DESCRETE STRUCTURE
Perform the following items. Upload photos of your answer sheets showing your name
and solution. (40 points)
1. Given the following:
g: "You can graduate."
m: "You owe money to the college."
r: "You have completed the requirements of your major."
b: "You have an overdue book."
Translate “You can graduate only if you have completed the requirements of your major,
you do not owe money to the college, and you do not have an overdue book." into a
propositional logic.
Proportional logic: g ↔ [ r ∧ ( ¬ m ) ∧ ( ¬ b ) ]
2. Show
that are logically equivalent. (15 points)
¬p→ ( q → r ) = q → ( p v r )
¬p → ( q →r ) = ¬p → ( q → r )
=¬p→ (¬q→ r )
=¬p(¬ p) v (¬ q v r )
=p v (¬ q v r )
=¬ q v (p v r)
DENVER NAVIO BSIT 1-2A
DESCRETE STRUCTURE
3. Show, by the use of the truth table (truth matrix), that the
is a contradiction. (15 points)
p q pv q ¬p ¬q (¬ p )∧( (¬ (p v q) v
q) (¬ p )∧ ( ¬ q )
FALSE FALSE FALSE TRUE TRUE TRUE TRUE
FALSE TRUE TRUE TRUE FALSE FALSE TRUE
TRUE FALSE TRUE FALSE TRUE FALSE TRUE
TRUE TRUE TRUE FALSE FALSE FALSE TRUE