The exam will consist of multiple choice questions, one free response question, and one coding question. It will require programming complete and correct C++ programs. Partial credit will only be given for working, compilable code that passes some test cases. Code that doesnt compile will not receive any credit. Multiple (but not unlimited) submissions will be allowed.
Instead of a practice programming question, you should prepare on your own to answer one of the following coding questions. In other words, the exam question will loosely require you to do one of the following:
std::list
or std:vector
The free response question will be on either a binary tree or a binary search tree.
The content on the exam will cover all lecture material up through (and including) September 23. This will include some overlap with the previous two exams and will primarily focus on lists, arrays, and trees. It will not cover balanced binary search trees.
There is a practice exam covering the ideas on prairieLearn
NULL
pointers in a BST, including prooffind
, including running times in terms of h
and n
insert
, including running times in terms of h
and n
delete
, including running times in terms of h
and n
Assignments referenced:
Points:60
Registration: Thursday, September 19
Start: Wednesday, October 02
End: Friday, October 04