# FA18:Final study guide

From CS2800 wiki

The final exam is cumulative with a heavier emphasis on material covered since prelim 2. See the Prelim 1 study guide and the Prelim 2 guide for old material. The new material includes everything covered in lecture and on the homework.

Old finals (as usual, topics covered and level of detail vary somewhat from semester to semester):

- File:2017fa-final.pdf (File:2017fa-final-sol.pdf)
- File:2017sp-final.pdf (File:2017sp-final-sol.pdf)
- File:2016fa-final.pdf (File:2016fa-final-sol.pdf)
- File:2016sp-final.pdf (File:2016sp-final-sol.pdf)
- File:2015fa-final.pdf (File:2015fa-final-sol.pdf)
- File:2015sp-final.pdf (File:2015sp-final-sol.pdf)
- File:2014fa-final.pdf (File:2014fa-final-sol.pdf)

New topics include:

- Automata theory:
- NFA, Regular expressions, Kleene's theorem

- Combinatorics:
- Know and be able to apply the sum rule, product rule, quotient rule.
- Know how to count the number of permutations of a set of size , the total number of subsets and the number of subsets of size .
- Be able to write combinatoric proofs of equations between natural numbers.

- Probability: Know and be able to apply the definitions and basic results:
- sample space, event, outcome, probability measure (including the Kolmogorov axioms), probability space
- conditional probability, independent events
- Bayes' rule, the law of total probability
- random variables, PMF of a random variable
- constant random variables, sum of random variables (as well as product, etc.), comparing random variables (e.g. X = y)
- indicator variables
- expectation (both definitions), variance (both definitions)
- independent random variables
- linearity of expectation, sum of variance of independent random variables
- Markov's inequality, Chebychev's inequality, Weak law of large numbers
- including statements and proofs

- hash functions will be treated as an example, but you don't need to know the definitions of nice, or of , etc. You should be able to understand the different parts of the analysis, though: random variables, indicator variables, linearity of expectation, setting up sample spaces, etc.

- Logic: Know the basic definitions (these will not be tested deeply, since you have not had homework on them)
- inductive definition of the set of propositional formulas
- semantics:
- proof trees, soundness and completeness:
- Know the definition of
- Be able to produce a proof tree using natural deduction. You do not need to memorize the natural deduction rules, if asked to give a proof tree, I will provide them
- However, you should understand introduction rules and elimination rules, and how they correspond to the table of proof techniques from the beginning of the semester
- Know the definitions of soundness and completeness of . You do not need to know or understand the proofs.
- Complete axiom systems and Godel's theorem are not in scope.