INFO 150: A Mathematical Foundation for Informatics

Solutions to Practice Final Exam

David Mix Barrington

13 December 2016

Directions:

  Q1: 15 points
  Q2: 30 points
  Q3: 30 points
  Q4: 25 points
  Q5: 20+5 points
Total: 120+5 points

Question text is in black, solutions in blue.

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

  • Question 2 (30): These are true/false questions, with no explanation needed or wanted and no penalty for guessing (3 points each):

  • Question 3 (30): Let D = {a, b, c, d} be a set of four dogs (Arly, Biscuit, Cardie, and Duncan}. Let A = {barking, chasing, swimming, wrestling} be a set of four activities. The first three parts of this question are counting problems involving assigning activities to the dogs. The last two parts deal with a similar counting problem.

  • Question 4 (25): With the same four dogs and four activities as in Question 3, let E(x, y) be a predicate meaning "dog x is engaged in activity y".

  • Question 5 (20+5): Let G be a directed graph with vertex set {a, b, c} and edge set {(a, b), (a, c), (b, a), (b, b), (c, b), (c, c)}. Let A be the adjacency matrix of G and let M be the one-step probability matrix for the Markov process where every edge of G has weight 1/2.

    Last modified 13 December 2016