Michael Young pointed me to this:
Here is a sample for the midterm - http://www.cs.uoregon.edu/classes/07F/cis422/midterm.html
It should give you an idea on what you need to do to study.