Topic 1.2 · Interactive concept example
Purpose, events and observable output
- Purpose versus feature
- Event-driven execution
- Input, processing, state and output
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
- Program purposefind-a-roomWaiting
- Input eventclickWaiting
- Initial internal count (0–10)2Waiting
Ready to explore: Purpose, events and observable output
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.