My mistakes
Classic beginner traps, and where to log your own mistakes.
Every mistake you make in a drill or mock paper belongs in your own mistakes log on My progress, with the fix. It's saved in your browser. Before the midterm, reread it and redo every row.
Classic beginner traps (watch for these)
These are common errors. If you make one, add it to your mistakes log on My progress.
- Writing . Wrong: the product rule is .
- Counting a
for i = 1 to nloop header as checks. It runs times (the last check fails). - Choosing before in a Big-O proof and then contradicting myself. Pick , then the that makes it work.
- In induction, assuming the statement for and calling that the proof. You assume (or ) and prove (or ).
- Loop invariant that is true but useless at termination. It must say something that gives the answer when the loop stops.
- Recursion tree: forgetting the leaf level or getting the number of levels wrong. For halving, it's levels.