If / else rules: coding conditions on paper
Conditions are one of the big ideas in coding. Here the child runs one by hand: test the number, choose the branch, do the step.
80 ready sheets
Worksheets
If / else with numbers40 ready sheetsThree rules, each with one condition and an else branch, and six numbers. The child tests each number, applies the right branch and writes the result.
Else if chains40 ready sheetsTwo rules, each with three branches and eight numbers. Order matters: only the first true condition runs and the rest are skipped.
Signature experiences
Related worksheet generators
- Binary codePrintable binary worksheets for children: convert between binary and decimal with place-value cards, decode and encode…
- Debug the algorithmDebugging worksheets: a program that should reach the star has one wrong step. The child finds it and fixes it. Answer…
- Write the robot programA paper coding sheet: the child writes the commands that take the robot to the star around the walls, in the fewest…