How it works
This rubric for algorithm HW scores what is written on paper, not a program that runs: the idea in words, steps or pseudocode, a worked example, the proof, the running time, and how easy it is to follow. 24 points.
Read the full guide
Four other sheets and a blank
The menu has High school computer science, which asks how the work grows in place of a bound; Proof only; Trace an algorithm by hand at three levels; and a Peer check before handing in. The last is blank.
Make the proof count double
Each row is out of 4. Type 8 after the slash in the proof row, and a 3 there counts 6. Take off a row you did not ask for with its ×.
Grade a pile
Press a number in each row, or type a half such as 2.5, then print. Next student empties the name and scores only. The list under the sheet has 21 sample lines from solutions, each with a comment to write beside it.
- Cover the steps and read the idea aloud. If nobody can say what the steps will do, score the first row 2.
Questions and answers
What should a written algorithm include?
A description in words, with pseudocode if it helps, a worked example, a proof that it is right, and its running time. MIT’s Introduction to Algorithms course (6.046J, 2005) asked for these four.
How do you grade an algorithm proof?
Ask what it claims, where it starts, why each step holds, and why it ends. An example alone gets 1 in the proof row: it shows one input.
Does a right running time with no reason get full points?
No, it gets 2 of 4 here. So does a bound that is true but too large, such as O(n²) for merge sort, where n log n is enough.
Can I use it for a program?
Not as it stands. No row asks whether code runs, passes tests or has comments. It suits pseudocode and proofs on paper.
Do high school classes need Big-O?
AP Computer Science Principles leaves formal Big-O out and measures efficiency by how often statements run. The high school sheet asks how the steps grow when the input is twice as long.