Selection traces
Each condition is evaluated when execution reaches it
- Comparison Check the exact operator and both current values
- One branch Select true or false once for each decision
- Current state Use any earlier update when reaching the next numbered row
- No assignment Retain the current value and continue
Common mistakes
Difficulty levels
Questions about this topic
Does a false condition stop the algorithm?+
No, follow that decision's false branch and then continue as instructed
Are these the comparison symbols in every programming language?+
No, these are the declared pseudocode conventions; check the language's own syntax when implementing them
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 7 Digital Technologies, chapter 4: Algorithms