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.
The programming question will be on tree-related content such as the construction or use of binary trees of different properties (full, complete, perfect, BST, AVL, etc…). Be sure to practice your recursion, as these may include constructing a tree of a precise unusual shape.
The free response question will require you to identify the best solution to a real world problem and describe in detail your method of choice (as well as its Big O). The methods can include any previously seen data structure in CS 225.
The content on the exam may cover all lecture material up through (and including) October 14. It will not include heaps but may contain overlap with previously seen material, with a focus on trees.
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
h
, and propertiesb
find
, 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, October 10
Start: Wednesday, October 23
End: Friday, October 25