🐾
PawStepsBY PETS ON THE GREEN
KS2 Β· Ages 7–11
Computing
Algorithms Β· Sequences Β· Debugging

Animal Algorithms

An algorithm is just a set of steps in the right order. Looking after animals is full of them!

🎯 Learning goal: understand that an algorithm is a precise sequence of steps, build one for a care routine, and debug one that has gone wrong.

Computers follow instructions exactly and in order. If the steps are muddled, things go wrong β€” just like feeding an animal in the wrong order!

1 Β· Build the algorithm

Pick a routine, then tap the steps in order.

2 Β· Debug the routine

Uh oh β€” this feeding algorithm has one step in the wrong place. Tap the line that's the bug.

πŸ’‘ For grown-ups: covers KS2 computing β€” designing, writing and debugging programs; that algorithms are precise ordered steps. Extend by writing a real class-pet routine as an algorithm, or adding a repeat/loop ("every morning…").