discrete Maths

profileABRAHAMLINCOLN
Ch-4-HW-Logic.docx

CPSC-50200

DISCRETE STRUCTURES

Ch-4 Homework

Directions: Answer all questions and double check your answers. After you feel comfortable with your answers, go to the content folder and click on HW-4_Logic to post your answers on blackboard. Make sure to submit your answers before the due date, you also need to allow yourself enough time (60 to 90 minutes) to submit your answers. When you start you must complete answering all questions. Questions and answers will be in the forms of True/False, Multiple Choice, and multiple answers. This will allow you to compare the answers you have with the different options on blackboard. Notice questions on blackboard may not have matching numbers with the following questions. Some of the following questions could be broken into multiple questions. 

For problems (1-5):

Let proposition p be false, proposition q be true, proposition r be false, and proposition s be true. Determine whether each of these propositions is true or false, show your work:

1.

2.

3.

4.

5.

Write a truth table for each proposition in problems 6-10, then compare to possible solution, the possible solution could be correct or it could be wrong. If wrong you need to identify errors:

6.

p

q

q

p

T

T

T

F

F

T

F

F

p

q

q

p

T

T

F

F

T

F

T

T

F

T

F

F

F

F

T

F

Possible Solution?

7.

p

q

p

p˄q

¬p˅q

(p˄q)˅(¬p˅q)

T

T

T

F

F

T

F

F

p

q

p

p˄q

¬p˅q

(p˄q)˅(¬p˅q)

T

T

F

T

T

F

T

F

F

F

F

T

F

T

T

F

T

F

F

F

T

F

T

F

Possible Solution?

8.

p

q

r

q

p˄q

¬(p˄q)

(¬q˅r)

¬ (p˄q)˅(¬q˅r)

T

T

T

T

T

F

T

F

T

T

F

F

F

T

T

F

T

F

F

F

T

F

F

F

p

q

r

q

p˄q

¬(p˄q)

(¬q˅r)

¬ (p˄q)˅(¬q˅r)

T

T

T

F

T

F

F

F

T

T

F

F

T

F

T

T

T

F

T

T

F

T

F

F

T

F

F

T

F

T

F

F

F

T

T

F

F

T

F

F

F

T

F

F

F

T

T

F

F

F

T

T

F

T

F

F

F

F

F

T

F

T

F

F

Possible Solution?

9.

p

q

r

p˄r

(p˄r)⟶q

T

T

T

T

T

F

T

F

T

T

F

F

F

T

T

F

T

F

F

F

T

F

F

F

q

r

p˄r

(p˄r)⟶q

T

T

T

T

T

T

T

F

F

T

T

F

T

T

F

T

F

F

F

T

F

T

T

F

T

F

T

F

F

T

F

F

T

F

T

F

F

F

F

T

Possible Solution?

10.

p

q

r

p˄q

(p˄q)⟷ r

T

T

T

T

T

F

T

F

T

T

F

F

F

T

T

F

T

F

F

F

T

F

F

F

p

q

r

p˄q

(p˄q)⟷ r

T

T

T

T

T

T

T

F

T

F

T

F

T

F

F

T

F

F

F

F

F

T

T

F

F

F

T

F

F

F

F

F

T

F

F

F

F

F

F

F

Possible Solution?

For problems 11-16, refer to the propositions p, q, and r; where p is true, q is false, and r’s status is unknown at the time. Tell whether each proposition is true, is false, or has an unknown status at the time:

11.

12.

13.

14.

15.

16.

For problems 17-20, consider propositions P and Q, and state whether . You could use the truth table method shown in class.

17. ,

P= p

q

Q=p˅q

T

T

T

F

F

T

F

F

18. ,

p

q

p

P = p⟶q

Q = ¬p˅q

T

T

F

T

F

F

F

T

T

F

F

T

19. ,

p

q

r

p⟶q

q⟶r

P= (p⟶q) ˄ ( q⟶r)

Q = p⟶r

T

T

T

T

T

T

T

F

T

F

T

F

T

F

T

T

F

F

F

T

F

T

T

T

T

F

T

F

T

F

F

F

T

T

T

F

F

F

T

T

20. ,

p

q

r

p⟶q

P= (p⟶q)⟶r

( q⟶r)

Q=p⟶( q⟶r)

T

T

T

T

T

T

F

T

T

F

T

F

T

F

F

F

F

T

T

T

F

T

F

T

F

F

T

T

F

F

F

T

Page | 6