State, assignment and sequence
This is a fixed question bank. Later sets may repeat these questions
Use this complete initial state and execute the numbered instructions once, from top to bottom
| Variable | Initial value |
|---|---|
| x | 0 |
The arrow ← means assignment, not an algebraic equation: first evaluate its right side using the values just before that step, then replace only the target variable on the left
All values here are numbers. Copying a variable copies its current numerical value, not a live link or spreadsheet formula
| Step | Instruction |
|---|---|
| 1 | x ← x + 3 |
| 2 | x ← 1 |