- Explain what an algorithm is
- Explain why algorithms are useful
- Write an algorithm for an everyday action
- Explain how algorithms are measured
Turn to your neighbor and explain what an algorithm is in your own words.
Turn to your neighbor and explain why an algorithm is useful.
Spend a few minutes researching pseudocode styles and techniques. Turn to your neighbor and discuss your prefered approach to pseudocoding.
Write an algorithm to make pancakes!
- Mix 1 cup Krusteaz mix with 1 cup water to make delicious pancake batter!
- Define the inputs and outputs
- Use pseudocode to describe your algorithm
- When you're done, compare your algorithm with a neightbor
- Challenge: Update your algorithm to make N number of pancakes
- Turn to your neighbor and explain how algorithms are measured following the tree criteria correctness, speed, memory.
- Using these three measures, analyze your algorithm from above.
