Algorithms on paper
Level 1 · estimatedWrite a procedure as numbered steps with a named input and output. Trace its decisions and its repetition by hand, then test it with inputs chosen to show a mistake.
Lessons
Read the whole unit on one page
- State inputs and outputsLevel 1 · Foundations
- Write an unambiguous instructionLevel 1 · Foundations
- Trace a decisionLevel 1 · Foundations
- Explain when a repetition endsLevel 1 · Foundations
- Check a procedure against a counterexampleLevel 1 · Foundations
Sources
- AP Computer Science Principles Course and Exam Description. College Board. All rights reserved. Read 1 Dec 2026. Cited in State inputs and outputs, Write an unambiguous instruction, Trace a decision, Explain when a repetition ends, Check a procedure against a counterexample.
- Computer Science Field Guide: Algorithms, 2.1 What's the big picture?. University of Canterbury Computer Science Education Research Group. CC BY-SA 4.0. Read 1 Dec 2026. Cited in State inputs and outputs, Write an unambiguous instruction, Explain when a repetition ends, Check a procedure against a counterexample.
- Computer Science Field Guide: Programming Languages, 3.1 What's the big picture?. University of Canterbury Computer Science Education Research Group. CC BY-SA 4.0. Read 1 Dec 2026. Cited in Write an unambiguous instruction.