Discrete Math Flashcards

1
Q

Assume propositions p, q, and r have the following truth values:

p is true
q is true
r is false

2)
¬r
True
False

A

true
Correct
The negation of a false proposition is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

p is true
q is true
r is false

3)
p ∧ r
True
False

A

false
Correct
Since r is false, the proposition is false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Assume the propositions p, q, r, and s have the following truth values:

p is false
q is true
r is false
s is true

What are the truth values for the following compound propositions?
(b)

p ∨ r

A

False

p ∨ q is false only when p and q are both false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Assume the propositions p, q, r, and s have the following truth values:

p is false
q is true
r is false
s is true

What are the truth values for the following compound propositions?

q ⊕ r

A

True

The exclusive or operation is usually denoted with the symbol ⊕. The proposition p ⊕ q is true if exactly one of the propositions p or q is true but not both. This question asks you to fill in the truth table for p ⊕ q.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Indicate whether each statement is true or false, assuming that the “or” in the sentence means the inclusive or. Then indicate whether the statement is true or false if the “or” means the exclusive or.

A

(a)

February has 31 days or the number 5 is an integer.

Inclusive or: True. Exclusive or: True.

Note: evaluates to true when p is true and q is false or when q is true and p is false.
- only when one of the propositions is true, but not both.

Note: evaluates to true when one or both of the propositions are true.
- when at least one of the propositions is true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In this equation for logic math : TRUE ∧ ¬(FALSE ∧ TRUE), after following order of operations how to FALSE cancel out to equal the next step T ∧ ¬ T / F . Did it cancel out?

A

Let’s break it down step by step using logical operations:
- Start with the given expression:
[ TRUE \land \neg (FALSE \land TRUE) ]
- Evaluate the inner parentheses:
- FALSE ∧ TRUE evaluates to FALSE (since AND requires both to be true).
- Now the expression simplifies to:
[ TRUE \land \neg FALSE ]
- Apply negation (¬):
- ¬FALSE is TRUE (since NOT flips the truth value).
- Now the expression simplifies to:
[ TRUE \land TRUE ]
- Evaluate the final AND operation:
- TRUE ∧ TRUE evaluates to TRUE.
So, the FALSE didn’t “cancel out”—it was negated and transformed into TRUE. The final result is TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This question uses the following propositions:

p: I will share my cookie with you.
q: You will share your soda with me.

Select the conditional statement that has the same logical meaning as the English sentence given.

I will share my cookie with you only if you share your soda with me.
q → p
p → q

A

p only if q.
Correct

How well did you know this?
1
Not at all
2
3
4
5
Perfectly