Offline activities · Quest 15
Debug the recipe
Find the planted mistakes in a recipe the way you would find bugs in code.
15 minutes
You will need
- A simple recipe with five steps
- A pencil
- A grown-up helper
What to do
- Write the recipe as numbered steps, for example making a fruit salad.
- Secretly plant two bugs: swap two steps, or leave one out.
- Give the recipe to a friend and ask them to find the bugs without cooking.
- Discuss the fix. Which kind of bug was it: wrong order or missing step?
- Ask a grown-up before using the stove, knives or any appliance, and make the real recipe together.
Talk about it
- How is debugging a recipe like debugging code?
- Why is testing a small step first a good habit?
