Skip to main content
AP CSP course

Topic 1.4 · Interactive concept example

Locate syntax, execution and logic errors

  • Error classification
  • Expected versus observed output
  • Distinguishing tests and regression

Change it · step through · explain

Change an input, predict what will happen, then advance one step. Read why the state changes, reset and experiment. This fixed teaching model does not save progress or award XP.

Ready · Make a prediction

Ready to explore: Locate syntax, execution and logic errors
  1. FaultlogicWaiting
  2. Boundary test value (0–100)5Waiting

Ready to explore: Locate syntax, execution and logic errors

Why: Change an input, predict the first effect, then advance one step.

Try this: Change one input or choose another listed case. Predict the effect, reset and compare the states and governing rule.