Unit 05 · lesson

Trace Repeated Work Without Guessing

A useful trace records what actually changed each cycle.

Use a compact table:

iterationinput/statedecisionnext state

The trace should make the stopping rule visible and preserve any invalid reading instead of hiding it.

Checkpoint

Trace one bounded Java repetition case through completion. Mark the exact iteration where termination becomes inevitable.

Then write one sentence explaining why this local trace cannot establish ROS graph state or physical actuator response.