CMPSCI 190DM: A Mathematical Foundation for Informatics

Practice for First Second Exam

David Mix Barrington

17 October 2015

Directions:

  Q1: 15 points
  Q2: 15 points
  Q3: 20 points
  Q4: 20 points
  Q5: 30 points
Total: 100 points

Corrections in green made on 20 October 2015.

  • Question 1 (15): Briefly identify the following terms or concepts (3 points each):

  • Question 2 (15): Determine whether each of these five statements is true or false. No explanation is needed or wanted, and there is no penalty for guessing.

  • Question 3 (20): Prove that if k is any integer, the number 7k + 5 is not a perfect square. (Hint: Argue the contrapositive, and apply the Division Theorem with m = 7 to the number you are squaring.)

  • Question 4 (20): Define a number sequence so that a1 = 3 and for all k with k > 1, ak = ak-1 + 4k - 7. Prove by induction that for any positive integer n, an = 2n2 - 5n + 6.

  • Question 5 (30): Define a number sequence so that b1 = 2, b2 = 3, and for all k with k > 2, bk = bk-1 - bk-2 + 1.

    Last modified 20 October 2015