AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

What is an algorithm?

Week 1 · 1.1 Algorithms all around us · 3 lessons
2

Steps in order

Computing 1: Topic 1.1, pp. 9–18
GoalSay that the steps of an algorithm must be in the right order, called a sequence.
New words
sequence · the order that steps come infirst, next, last · words that tell the order of steps
Explanation

The steps in an algorithm go in an order. The order is called a sequence. We say first, next, then and last. If the steps are in the wrong order, the job may not work. You cannot drink juice before you pour it!

1 muddy dog2 soap3 rinse4 dry
Worked examples
firstnextlast
Ana makes a paper plane. First she folds the paper in half. Next she folds the corners down. Last she throws it gently.
1 jam in2 lid on
Leo puts jam in a jar. First the jam goes in. Last the lid goes on. If the lid goes on first, the jam cannot get in!
firstnextlast
Kenji paints a picture. First he gets a brush. Next he dips it in paint. Last he paints on the paper.
Class activity

Sequence cards (with an adult): draw four small pictures of washing a toy: wet it, soap it, rinse it, dry it. Cut them apart and mix them up. Put them back in order. Say first, next, then, last. Swap cards with a friend and try theirs.

Practice
1
Put the steps in order: A Drink the juice. B Pour juice in the glass. C Put a glass on the table.
glassjuicedrink
2
What do we call the order of steps?
3
You send a card to Gran. Write it, put it in an envelope, post it. Which step comes last?
4
Which step comes first: eat the apple, or wash the apple?
apple