Foundation self-check (20 minutes)
Answer without notes, then open each solution and record the topic of every error.
A connected undirected graph has 12 vertices and 11 edges. What additional fact proves it is a tree?
Answer: No additional fact is needed. A connected undirected graph with |V| - 1 edges is a tree.
What is the postfix form of A + B * C?
Answer: ABC*+. Multiplication is evaluated before addition.
What is the range of an unsigned 8-bit integer?
Answer: 0 through 255 (2^8 - 1).
A matrix has determinant zero. What does this imply about its inverse?
Answer: The matrix is singular and has no inverse.
What is the worst-case running time of merge sort?
Answer: Θ(n log n): there are logarithmically many merge levels and Θ(n) work per level.
What property distinguishes a min-heap from a binary-search tree?
Answer: A min-heap requires each parent to be no larger than its children; it does not impose an ordered relationship between the left and right subtrees.