Step by Step: Algorithms
Computing | Key Stage 1 (Ages 5–7) | Beginner
Instructions: An algorithm is a set of steps that tells someone or a device what to do. Work through each activity in order and write your answers in the boxes. Read each instruction carefully: a computer follows the steps exactly as they are given.
What Is an Algorithm?
An algorithm is a clear set of steps for completing a task. Read each example and decide whether it gives useful steps for a person or device. Write Yes or No in each box.
1. “Put the book on the table, then open it.” Is this a clear set of steps?
2. “Make a snack.” Does this tell you exactly what to do?
3. “First, put on your coat. Next, zip it up.” Is this an algorithm?
4. “Go somewhere nice.” Is this precise enough for a computer to follow?
Put the Steps in Order
A useful algorithm has steps in the right order. The three steps in each task are mixed up. Write the step numbers in the order that makes sense.
1. Get ready to draw: 1) Draw a picture. 2) Pick up a pencil. 3) Take out paper. Write the correct order:
2. Wash your hands: 1) Dry your hands. 2) Turn on the tap. 3) Use soap and rub your hands. Write the correct order:
3. Plant a seed: 1) Cover the seed with soil. 2) Make a small hole in the soil. 3) Put the seed in the hole. Write the correct order:
4. Open a book: 1) Read a page. 2) Pick up the book. 3) Open the cover. Write the correct order:
Give a Robot Clear Directions
A robot needs exact directions to reach the star. Use only the direction words left, right, forwards and backwards. Read each route and write the directions in order. The robot starts facing forwards.
1. Move one step forwards, then one step right. Write the two directions:
2. Move one step left, then two steps forwards. Write the directions:
3. Move two steps backwards, then one step right. Write the directions:
4. Move one step forwards, one step left, then one step backwards. Write the directions:
Debug the Instructions
Debugging means finding and fixing a mistake. Each set of steps has one muddled step. Write the number of the step that should be moved, then write where it belongs in the order.
1. Make toast: 1) Put bread in the toaster. 2) Eat the toast. 3) Press the toaster button. Which step is in the wrong place, and where should it go?
2. Put on shoes: 1) Tie the laces. 2) Put your feet in the shoes. 3) Pick up the shoes. Which step is in the wrong place, and where should it go?
3. Draw a picture: 1) Put the pencil down. 2) Draw with the pencil. 3) Pick up the pencil. Which step is in the wrong place, and where should it go?
4. Send a paper letter: 1) Put the letter in an envelope. 2) Write the letter. 3) Seal the envelope. Which step is in the wrong place, and where should it go?
Predict What the Program Does
A program follows its instructions in order. Read each little program from the first step to the last. Write what happens at the end.
1. Start with 2 stars. Add 1 star. How many stars are there now?
2. Start with 5 counters. Take away 2 counters. How many are left?
3. Start facing forwards. Turn right. Which way are you facing?
4. Start with 3 blocks. Add 2 blocks, then take away 1 block. How many blocks are there now?
Make a Safe Choice Online
Computers and tablets follow instructions, and people need to make safe choices when using them. Read each situation and write the safest action. You can answer with a short phrase.
1. A game asks you to type your home address. What should you do?
2. A message from someone you do not know makes you feel worried. Who should you tell?
3. You want to use a new app, but you are not sure it is suitable. What should you do first?
4. A website asks for your password. Should you share it with a stranger online? Write Yes or No.
Activity 1: Yes ; No ; Yes ; No
Activity 2: 2, 3, 1 ; 2, 3, 1 ; 2, 3, 1 ; 2, 3, 1
Activity 3: forwards, right ; left, forwards, forwards ; backwards, backwards, right ; forwards, left, backwards
Activity 4: Step 2 should go after step 3 ; Step 3 should go before steps 2 and 1 ; Step 1 should go after step 3 ; Step 2 should go before steps 1 and 3
Activity 5: 3 ; 3 ; right ; 4
Activity 6: Do not enter it; ask a trusted adult for help ; Tell a trusted adult ; Ask a trusted adult before using it ; No
📚 Great books for Computing
Handpicked books to support learning at home · Amazon affiliate links

CGP KS2 Study Skills Book
How to learn effectively - revision tips and techniques
Usually ships in 24hrs

Scholastic Study Diary & Homework Planner
Helps children stay organised with homework and revision
Usually ships in 24hrs

Handwriting Practice Pad - Ages 5–7
Letter formation and joined-up writing practice
Usually ships in 24hrs

Staedtler Colouring Pencils 24 Pack
Quality pencils great for completing and illustrating worksheets
Usually ships in 24hrs