Docsity

Discrete Structures Exam #1 - Logical Expressions and Set Operations - Prof. Peter M. Maur, Exams of Discrete Structures and Graph Theory

Toggle sidebar
bg1
CSI 2350 Discrete Structures Feb. 10, 2005
Exam #1 Page 1 of 4
NAME:_________________________________________________________________
1. Give truth tables for the following logical expressions. Make sure I can find your
answer without any confusion.
p q r
()()pqpr
→∨→
()()prrq
∨→∧
(~)(~)prpq
∧∨∧
T
T
T
T
T
F
T
F
T
T
F
F
F
T
T
F
T
F
F
F
T
F
F
F
2. Which of the following are propositions? Write Yes or No in the blank provided.
a._______If Mississipi wore her New Jersey, what would Delaware?
b._______I can jump higher than the building.
c._______George Bush likes Broccoli.
d._______Open your book to page 10.
e._______Answer “maybe” to this question.
f._______I am going to get an A in Discrete Structures.
g._______A big fat funny-looking rabbit.
h._______I wish I had false teeth.
i.________If elephants can fly then cows have wings.
j.________What is your favorite course?
pf3
pf4

Partial preview of the text

Download Discrete Structures Exam #1 - Logical Expressions and Set Operations - Prof. Peter M. Maur and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

NAME:_________________________________________________________________

  1. Give truth tables for the following logical expressions. Make sure I can find your answer without any confusion. p q r ( p → q ) ∨ ( p → r ) ( p ∨ r ) → ( r ∧ q ) ( p ∧ ~ r ) ∨ (~ p ∧ 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

  1. Which of the following are propositions? Write Yes or No in the blank provided. a._______If Mississipi wore her New Jersey, what would Delaware? b._______I can jump higher than the building. c._______George Bush likes Broccoli. d._______Open your book to page 10. e._______Answer “maybe” to this question. f._______I am going to get an A in Discrete Structures. g._______A big fat funny-looking rabbit. h._______I wish I had false teeth. i.________If elephants can fly then cows have wings. j.________What is your favorite course?
  1. The following is one of DeMorgan’s laws (for propositions). Stateprove it using truth tables. the other one and

~ ( p ∧ q ) = ~ p ∨~ q

  1. Let U={1,2,3,4,5,6,7,8,9,10,11,12}, A={1,3,5,7,9,11}, B={2,3,5,6,8,9}, C={2,4,6,8,10,12}, D={4,8,12}. List the contents of the following sets. Use φ for the empty set.

a. A ∪ B

b. A ∩ B

c. C ∩ D

d. C − D

e. D − C

f. A ∩ C

g. A ′ ∪ φ

h. D ∩ B ′

i. A ∩ B ∩ C

j. A ∪ B ∪ C ∪ D

  1. Prove or disprove using truth tables: ( p → q ) → r ≡ r ∨ ( p → q ).
  2. Prove the following. (( A ∩ B ) ∩ C ) ⊆ ( B ∪ C )