Grade by GradeEssential student suppliesSign in
CS. Computer Science · Computer Science: Order and Follow Instructions

Order Makes the Outcome

AB SC 1: specific order AB SC 1: relate to outcomesAbout 25 minutes
Learning goals
  • I can tell that the order of steps can change the outcome.
  • I can put three steps in order to get the outcome I want.
  • I can name kinds of instructions that need a special order.

Words to know

order
Which step comes first, next and last.
sequence
Steps lined up in order.
desired outcome
The outcome you want to get.

First, next, last

Many instructions have steps. The steps come in an order: first, next and last. Steps lined up in order are a sequence.

The outcome you want is called the desired outcome. People put steps in a special order so they get the desired outcome.

If you mix up the order, you can get a different outcome, and often not the one you wanted!

Worked example

Wrapping a birthday gift

Sam wants to wrap a toy car for his friend's birthday. He has a box, a lid and wrapping paper. Put these steps in order:

  • Wrap paper around the box.
  • Put the car in the box.
  • Put the lid on the box.
  1. The car must go in first, while the box is open.
  2. Next, the lid goes on, so the car stays inside.
  3. Last, the paper goes around the closed box.
  1. Put the car in the box. 2. Put the lid on. 3. Wrap the paper around it.
Gift wrapping in orderStep 1Put the carin the boxStep 2Put thelid onStep 3Wrap thepaper aroundOutcome: a wrapped giftwith the car inside
When the steps are in this order, the desired outcome is a wrapped gift with the car inside.
Oops! Mixed-up orderStep 1Put thelid onStep 2Wrap thepaper aroundStep 3Put the carin the boxOutcome: the car cannot get in!Sam has to tear the paper off.
The same three steps in a different order give a different outcome.

Instructions that need a special order

Many kinds of instructions must be in a specific order. You will learn about each one in this unit.

Kind of instructionExample
DirectionsHow to walk from the school door to the swings
RecipesHow to make juice ice pops
Computer programsThe steps a computer follows to draw a picture
Safety protocolsWhat everyone does in a fire drill
Four kinds of instructions where order matters.
Worked example

Painting with watercolours

Ava paints a picture of a wild rose. Her steps are: dip the brush in water, rub the brush on the pink paint, paint the petals. What happens if she paints first, before she dips her brush?

  1. A dry, clean brush has no paint on it.
  2. If she paints first, nothing goes on the paper.
  3. Water first, then paint, then painting makes the petals pink.

Her paper stays blank. She needs the steps in order to get pink petals.

1. Dip the brush in water.
2. Rub the brush on the pink paint.
3. Paint the petals.

Ava's steps, in the order that gives her desired outcome.

Picture the end first

Before you put steps in order, picture the outcome you want. Then ask: "What has to happen first so this can work?"

Puzzle

Letters are like steps. T, A, C can spell CAT or ACT. Same letters, different order, different word! Can you make two words from P, O, T? (Try POT and TOP.)

Hands-on activity

Mixed-up step cards

You need: 3 small pieces of paper and your backpack.

  1. Your grown-up writes or draws one step on each card: put in your lunch, put in your folder, zip it up.
  2. Your grown-up mixes up the cards.
  3. You put the cards in an order that works. Which step must be last?
  4. Follow your cards. Check the outcome: is everything inside and the bag closed?
  5. Try zipping first. What happens?

Your turn

1

What does order mean?

2

What is a desired outcome?

3

What must Sam do first: wrap the paper or put the car in the box?

4

What happened when Sam put the lid on first and wrapped the box?

5

What must Ava do before she paints?

6

Name two kinds of instructions that need a special order.

More practice

1

Put in order: put the letter in the mailbox, write the letter, put the letter in an envelope.

2

Packing a backpack: which step goes last, zip it up or put in your lunch?

3

Which word can you make from the letters P, O, T besides POT?

4

Put in order: pour the cereal, get a bowl, eat the cereal.

Check your understanding

Quiz

1.

What can happen when you mix up the order of steps?

2.

Wrapping a gift: which step comes first?

3.

Which kind of instruction needs a special order?

4.

Ava paints before she dips her brush. What is the outcome?

For parents and teachers

How to help at home:

  • Use order words during routines: "First... next... last..."
  • Before a task, ask your child what outcome you want, then which step must happen first.
  • Mix up the steps of a familiar task on purpose and ask, "Will that work? Why not?"

Common mistakes:

  • Listing steps without thinking about the outcome. Keep asking, "What do we want at the end?"
  • Thinking every set of steps has one right order. Some do, but the next lesson shows that some steps can be swapped.