Discrete Math _ Exam Re-Take Flashcards

(13 cards)

1
Q

Which one is a proposition?

2 × 2 = 5
Who is going to lunch?
x + 2 ÷ 2x
Get the key from the drawer.

A
  • 2 × 2 = 5

You answered
x + 2 ÷ 2x

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

Assume p is true, q is false, and r is true.
What are the truth values of p ∧ q, q ∨ ¬r, and (p ∧ q) ∨ (q ∨ ¬r)?

F, F, F
F, F, T
T, T, F
F, T, F

A
  • F, F, F

You answered
F, T, F

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

Given p is false and q is true.
Which expression has the same truth value as (p ∨ ¬q) → ¬p?
A.) q → p
B.) ¬(p → q)
C.) (p → q) ∧ ¬(q → p)
D.) ¬(p → q) ∧ (q → p)

A

(p → q) ∧ ¬(q → p)

You answered
¬(p → q)

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

Consider this truth table, which presents the values of predicate M(x,y)
, where x∈{1,2,3} and y∈{7,8,9}.

M 7 8 9
1 T T F
2 T F T
3 F T T

∀x M(x,x+6)
∃x ∀y M(x,y)
∀y ∃x M(x,y)
∃y M(10−y,y)

A

∀y ∃x M(x,y)

You answered
∃x ∀y M(x,y)

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

Given variables x,y,z
with values taken from the set D={−1,0,1}.

Which statement is true?

∀x(∃y(∀z(x+y+z=z)))
∃x(∀y(∀z(x+y+z=0)))
∀x(∀y(∃z(x+y+z=z)))
∃x(∃y(∀z(x+y+z=0)))

A

∀x(∃y(∀z(x+y+z=z)))

Your answered
∃x(∃y(∀z(x+y+z=0)))

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

Which statement has a free variable?

∀x (P(x)) ∧ R(x)
∀x (P(x) ∧ R(x))
∃x P(x) ∨ ∃y R(y)
∃x (P(x) ∨ R(x))

A

∀x (P(x)) ∧ R(x)

You answered
∃x (P(x) ∨ R(x))

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

Consider the theorem and its proof below.

Theorem: If the product of two positive real numbers is greater than 25, then at least one of the numbers is greater than 5.

Proof: For all positive real numbers a and b,
If a ≤ 5 and b ≤ 5, then ab ≤ 25.
If a ≤ 5, then ab ≤ 5b.
Since b ≤ 5, then ab ≤ 25.

Therefore, if ab > 25, then a > 5 or b > 5.

Is the proof valid, and which type of proof is used?

The proof is valid, and it is a direct proof.
The proof is not valid, and it is a direct proof.
The proof is valid, and it is proof by contrapositive.
The proof is not valid, and it is proof by contrapositive.

A

The proof is valid, and it is proof by contrapositive.

Your answer
The proof is valid, and it is a direct proof.

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

Consider the theorem and proof below:

Theorem: ¬(P∧ ¬Q) ≡ ¬P ∨ Q

Proof: Consider the truth table for the two statements. Since the truth table is correct and the truth values match, the two statements are equivalent.

P Q -P -Q PA-Q -(PA-Q) -PV Q
T T F F see screeshot

T F F
F T T
F F T

Proof by cases is used, but the proof is not valid.
Proof by cases is used, and the proof is valid.
Proof by contraposition is used, but the proof is not valid.
Proof by contradiction is used, and the proof is valid.

A

Proof by cases is used, but the proof is not valid.

You answered
Proof by cases is used, and the proof is valid.

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

Consider the proof below.

Theorem: Let n be an integer. If n2 is odd, then n is odd.

Proof: Let n be an integer. Assume n2 is odd and n is even. Then there is some integer k such that n=2k. Then n2=(2k)2 = 4k2, which is even. Therefore, n must be odd.

Is the proof valid, and which type of proof is used?

The proof is valid, and a direct proof is used.
The proof is not valid, and a direct proof is used.
The proof is valid, and proof by contradiction is used.
The proof is not valid, and a contradiction proof is used.

A

The proof is valid, and proof by contradiction is used.

You answered
The proof is not valid, and a contradiction proof is used.

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

Which logical statement is equivalent to 0?

1↑1
1↑0
0↑1
0↑0

A

1↑1

You answered
0↑0

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

Which expression is the Boolean equivalent of the CNF expression
(x+¯¯¯y)(¯¯¯x+y)
?

xy+¯¯¯x⋅¯¯¯y
x¯¯¯y+¯¯¯xy
¯¯¯x ⋅ ¯¯¯y
xy

A

xy+¯¯¯x⋅¯¯¯y

You answered
xy

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

Given this circuit:

Which description allows the lamp to glow?

P: True, Q: False
P: True, Q: True
R: False, P: False, Q: False
R: True, P: True, Q: True

A

P: True ,Q: False

Your Answer
R: True, P: True, Q: True

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

Given the circuit below:

Which input, given as (x, y, z), gives an output of 1?
Less

(0 ,0, 1)
(0, 1, 1)
(0 ,1, 0)
(1, 0, 0)

A

(0 ,1, 0)

You answered:
(0, 1, 1)

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