Name: Anamariel B. Denalo BSCS 1: Propositional Logic Exercises
Name: Anamariel B. Denalo BSCS 1: Propositional Logic Exercises
Denalo BSCS 1
Propositional Logic Exercises
A. Translate the following propositional logic to English sentences.
p: Ghazi is eating.
q: Ghazi is hungry.
1. p q
- Ghazi is eating only if Ghazi is hungry.
2. p Λ ~q
- Ghazi is eating and Ghazi is not hungry.
3. ~(q ~p)
- If Ghazi is not hungry then Ghazi is not eating.
C. Write its English sentences in converse, inverse and contrapostive of each statement.
1. If I had 1,000-peso bill, I’d buy you a fur coat.
2. If it is not raining and not windy, then I will go running or cycling.
3. A day that’s sunny and not too windy is a good day for walking on the waterfront.
4. If 11 pigeons live in 10 birdhouses, then there are 2 pigeons that live in the same birdhouse.
5. If every domino covers a black square and a white square, then the number of black squares
equals the number of white squares.
D. Complete the truth table below.