CPT Program Tracing Overview

In AP CSP, “tracing a program” means explaining how a program runs step-by-step.

You should describe:

  • Input or starting state
  • How values change during execution
  • How loops repeat actions
  • How conditions affect decisions
  • Final output

Key idea: You are tracking execution over time, not just describing code.


📘 Written Response of Purpose

✍️ Program Trace