Answer method
- Define the concept, then show how data or state changes through a concrete example.
- For algorithms, specify inputs, outputs, variables, conditions, loops, and termination before polishing syntax.
- Trace with normal, boundary, and invalid data rather than assuming the first example proves correctness.
- For comparison questions, connect each advantage or limitation to the stated user or system context.