Quarry School

Algorithms on paper

Subject: ComputingLevel 1 · estimated

Write 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

Quick review

Read the whole unit on one page

  1. State inputs and outputsSubject: ComputingLevel 1 · Foundations
  2. Write an unambiguous instructionSubject: ComputingLevel 1 · Foundations
  3. Trace a decisionSubject: ComputingLevel 1 · Foundations
  4. Explain when a repetition endsSubject: ComputingLevel 1 · Foundations
  5. Check a procedure against a counterexampleSubject: ComputingLevel 1 · Foundations

Sources

  1. 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.
  2. 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.
  3. 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.