Final Exam Study Guide
Plan
The final exam will take place in the classroom. See the class schedule for details. You will have a 3 hour time limit. The exam is closed book, and you may have two pages of notes handwritten or typed by you. One of those two pages could be the page of notes you prepared for the mid-term exam (as long as they were in compliance with the policy in the syllabus). No calculators or digital assistants (you won't need one). I think a well-prepared student will be able to complete the exam in two hours. You’re going to do well!
The format could consist of any combination of short answers, worked mathematical solutions, multiple choice, or even some T/F.
Always be ready to show your work. You will be graded not only on the correctness of your answer, but also on the clarity with which you express your rationale for your answer; plan to be neat. It is your job to make your understanding clear to us; non-neat work is likely to earn a lower grade. If using a pencil (rather than a pen) helps you be neat, please plan accordingly.
Study
I recommend the following activities to study the topics covered by the exam:
Review the lecture notes and identify the topics we emphasized in class. Prepare your notes. This process will probably be your best preparation.
Compare the homework solution keys to your homework assignments, and make sure that you understand the major principles covered in the homework problems.
Consider how to apply the problem solving strategies we have worked with: draw a decision tree that enables you to choose a problem-solving strategy for any given new problem. Assume that you, Google, Stackoverflow.com, and everywhere else on the web do not know the solution to the problem! Clearly identify the following:
the questions at each branching point (probably binary questions; make sure that your questions are about the nature of the problem or about a simple step you can try)
the answers along each branch (usually yes/no)
the chosen strategy at each leaf (be sure that the leaves of your decision tree include LP, DP, Div&Conquer, Graph, State-space search, Solution-space search, Greedy, if possible)
Topics
The final exam is comprehensive and will cover the following:
Greedy algorithm for computing (divisible) knapsack loads
0/1 Knapsack using DP
Formulating Dynamic Programming algorithms for unfamiliar problems
Formulating problems as Linear Programming problems
Expressing a Linear Programming problem in Standard Form in preparation for solution by the Simplex Method
Pivoting an LP problem as part of the Simplex Method
Solving an LP problem using algebra
Network flow algorithm
Formulation of network flow as a linear programming problem
Correspondence between the network flow algorithm and the simplex algorithm
Minimum cuts
NP-completeness: definition and how to prove that a problem is NP-complete
Design decisions involved in creating and implementing Back-tracking search algorithms
Reasoning about the completeness of search algorithms
Design decisions in creating and implementing Branch and bound optimization algorithms
Reasoning about optimality of B&B algorithms
Solving the Job Assignment problem with a branch and bound algorithm
Solving the TSP with a branch and bound algorithm
Formulating B&B algorithms for unfamiliar problems
Relationships among A*, Branch and Bound, Dijkstra’s, and Uniform Cost Search
Admissible heuristics for A*; relationship to bound functions for B&B
Solution-space search: local search and its variants
Elementary probability theory and its relevance for average case analysis
NO rederivation of the average case analysis of Quicksort
Convolution
Asymptotic analysis of the efficiency of the Fast Fourier Transform
NO complex n-th roots of unity
Back to top