Docsity

Practice Quizzes - Constructing Proofs | CS 1050, Quizzes of Computer Science

Toggle sidebar
bg1
CS 1050
Practice Quiz 1a
1. Use a truth table to prove or disprove that (p⊕q) ⇔ p↔q
2. Without using truth tables, prove that ¬(p→q) → ¬q is a tautology.
3. Without using truth tables, prove that [p∧(p→q)] ⇔ (p∧q)
4. Let P(m,n) be the statement "m+n > mn, " where the universe of discourse for both
variables is the set of positive integers. State whether each of the following propositions
is true or false by writing either T or F beside the proposition.
____ P (4,7)
____ P (1,8)
____∀m∀n P(m,n)
____ ∃m∀n P(m,n)
____ ∃n∀m P(m,n)
____ ∀m∃n P(m,n)
____ ∀n P(1,n)
____ ∃n¬ P(1,n)
5. Prove that the sum of an even integer and an odd integer is always an odd integer.
6. Prove that if n is a positive integer, then n is even if and only if 7n+4 is even.
Practice Quiz 1b
1. Use a truth table to prove or disprove that ¬(p⊕q) ⇔ p↔q
2. Without using truth tables, prove that (¬q∧(p→q)) →¬p is a tautology.
3. Without using truth tables, prove that ¬[p∧(p→q)] ⇔ p → ¬q
4. Let P(m,n) be the statement "m+n < mn, " where the universe of discourse for both
variables is the set of positive integers. State whether each of the following propositions
is true or false by writing either T or F beside the proposition.
____ P (4,7)
____ P (1,8)
____∀m∀n P(m,n)
____ ∃m∀n P(m,n)
____ ∃n∀m P(m,n)
____ ∀m∃n P(m,n)
____ ∀n P(1,n)
____ ∃n¬ P(1,n)
5. Prove that the sum of an odd integer and an odd integer is always an even integer.
6. Prove that when m is a positive integer, then if m2 is odd, then m is odd.
7. Prove that the product of a nonzero rational number and an irrational number is
irrational.

Partial preview of the text

Download Practice Quizzes - Constructing Proofs | CS 1050 and more Quizzes Computer Science in PDF only on Docsity!

CS 1050

Practice Quiz 1a

  1. Use a truth table to prove or disprove that (p ⊕ q) ⇔ p ↔ q
  2. Without using truth tables, prove that ¬ (p → q) → ¬ q is a tautology.
  3. Without using truth tables, prove that [p ∧ (p → q)] ⇔ (p ∧ q)
  4. Let P(m,n) be the statement "m+n > mn, " where the universe of discourse for both variables is the set of positive integers. State whether each of the following propositions is true or false by writing either T or F beside the proposition. ____ P (4,7) ____ P (1,8) ____∀m∀n P(m,n) ____ ∃m∀n P(m,n) ____ ∃n∀m P(m,n) ____ ∀m∃n P(m,n) ____ ∀n P(1,n) ____ ∃n¬ P(1,n)
  5. Prove that the sum of an even integer and an odd integer is always an odd integer.
  6. Prove that if n is a positive integer, then n is even if and only if 7n+4 is even.

Practice Quiz 1b

  1. Use a truth table to prove or disprove that ¬ (p ⊕ q) ⇔ p ↔ q
  2. Without using truth tables, prove that ( ¬ q ∧ (p → q)) →¬ p is a tautology.
  3. Without using truth tables, prove that ¬ [p ∧ (p → q)] ⇔ p → ¬ q
  4. Let P(m,n) be the statement "m+n < mn, " where the universe of discourse for both variables is the set of positive integers. State whether each of the following propositions is true or false by writing either T or F beside the proposition. ____ P (4,7) ____ P (1,8) ____∀m∀n P(m,n) ____ ∃m∀n P(m,n) ____ ∃n∀m P(m,n) ____ ∀m∃n P(m,n) ____ ∀n P(1,n) ____ ∃n¬ P(1,n)
  5. Prove that the sum of an odd integer and an odd integer is always an even integer.
  6. Prove that when m is a positive integer, then if m^2 is odd, then m is odd.
  7. Prove that the product of a nonzero rational number and an irrational number is irrational.