Scratch and algorithmic thinking · Lesson
Understand x = x + 1: read the current value, compute a new one and store it back in the same variable.
In x = x + 1 the value on the right is read before assignment. The new value is computed and only then stored back into x.
read x → x + 1 → store in x
This is a starter map for the lesson concept. You can move and edit nodes, add new ones and create your own connections. Changes stay on this device and do not affect mastery assessment.
Double-click a node to edit it. Drag nodes and add the connections that help you remember the concept.
Press Run and focus on the Variables monitor: at this stage we deliberately do not use say yet. The lesson result is the new variable state, not Stage output.
Start from counter=4 and update counter with counter+1.
The program contains a wrong assignment to counter. Fix it and use Run: observe the result in the Variables monitor without adding say.
Progress: 0 / 5 · correct: 0
The mental model in this lesson does not belong to Scratch: it describes a programming concept. Later the same exercise can be represented as a flowchart and then as a C program while keeping the same test cases.
ConceptStep separates what is required from what is recommended or useful as reinforcement. Only required prerequisites block your progress.
Relationships: solid line = required · dashed line = recommended · dotted line = reinforcement.