Sequence: instructions run in order
A control structure where statements run one after another, top to bottom, so changing their order can change the result.
Understanding Sequence: instructions run in order in VCE Software Development U3O1
What it does: Doubling happens after a is set to 3 and before print, so 6 is shown. Changing the order would change the result. The value must be input before it can be processed, and processed before it can be output, so the order matters. Sequence means statements run one after another from top to bottom. x starts as 5, then the next line changes it to 7 before print(x) runs. (3 + 1) * 2 = 8, but (3 * 2) + 1 = 7. Swapping the statements changes the result. Python runs one line at a time from the top. The calculation needs the input value to exist first.
Common mistakes: The variable total was never created. The statements run in order and the value is stored in score, so the last line should be print(score). This line uses area before it exists. area is only created on line 3, and Python runs the lines top to bottom. It should be height = 3.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 10–47) and word search (Modules 10–71).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
sequenceFill in the Blanks
Spot the Error
Student with a class code? Join your class →