🍳
Algorithm
(Al-go-ri-thm)
What is it? 🤔
An algorithm is just a fancy word for a Recipe or a List of Steps.
Computers aren't smart like you! They can't guess what you want. You have to tell them exactly what to do, step-by-step, in the right order.
Example: The Toothbrush Algorithm 🪥
1
Get Ready
Pick up the toothbrush and toothpaste.
2
Squeeze
Put a tiny blob of toothpaste on the bristles.
3
Brush!
Move the brush on your teeth for 2 minutes.
4
Done!
Rinse your mouth and smile! 😁
💡 Fun Fact
If you miss a step (like forgetting to open your mouth), the program won't work. That's called a Bug!
🎮 Try It Yourself!
Click the steps in the RIGHT order to make a PB&J Sandwich!
🍽️
Your Algorithm:
// Click buttons to add steps...
🕵️ Secret Mission 🕵️
PASSPORT CODE:
RECIPE