CMPSCI 190DM: A Mathematical Foundation for Informatics

Solutions to First Midterm Exam

David Mix Barrington

28 September 2015

Directions:

  Q1: 20 points
  Q2: 20 points
  Q3: 25 points
  Q4: 35 points
Total: 100 points

Question text is in black, solutions in blue.

  • Question 1 (20): Briefly identify the following terms or concepts (4 points each):

  • Question 2 (20): For each of these two number sequences, give the next three numbers in the sequence, find a recursive formula, and find a closed formula. Don't forget that the recursive formula must specify the first element. (10 points each)

  • Question 3 (25): Translate the following statements as indicated. The dogs Cardie and Duncan are denoted symbolically by c and d respectively. The proposition p means "Cardie eats paper", and q means "Duncan barks too much". If x and y are dogs, the predicate S(x, y) means "dog x is sillier than dog y". All variables in quantifiers are of type "dog". (5 points each)

  • Question 4 (35): Establish the following facts with truth tables.

    Last modified 13 October 2015