Computer Science PACK-CSP-1 · WS-CSP-1-01
Algorithms. Step by Step
Computational Thinking Foundations — Understanding and writing algorithms
📝 Directions: Learn what an algorithm is, put steps in order, and write your own!
Part A: What Is an Algorithm?

An algorithm is a set of steps to solve a problem. Like a recipe!

Put these steps in the right order to make a peanut butter sandwich:

  1. ___ Spread peanut butter on one slice
  2. ___ Get two slices of bread
  3. ___ Eat your sandwich!
  4. ___ Put the two slices together
  5. ___ Open the peanut butter jar
Part B: Write Your Own Algorithm!

Write step-by-step instructions for brushing your teeth:

Algorithm: How to Brush Your Teeth

  1. Step 1: ________________________________
  2. Step 2: ________________________________
  3. Step 3: ________________________________
  4. Step 4: ________________________________
  5. Step 5: ________________________________
Part C: Follow the Arrows! ️

Follow the arrows to guide the robot to the star. Write the directions!

🤖

Use: ➡️ (right) ⬇️ (down) ⬅️ (left) ⬆️ (up)

Directions: