Skip to content
  • Algorithms

    LO: I can break down a problem to predict its outcome.
    LO: I can detect and correct mistakes which cause instructions (a solution) to fail (debug).
    LO: I can change instructions to achieve a different outcome.

     

    Success Criteria:
    • I can explain what an algorithm is.
    • I can identify what different colour tiles tell indi to do.
    • I can plan a sequence of instructions to control a robot.
    • I can identify and fix a mistake in my algorithm.

     

    A robot has no brain. It does not know where to go without us telling it. What could we do?

     

    • What is an instruction?
    • What instructions might we give a robot?
    • What happens if we put instructions in the wrong order?

     

    If I create a pattern, what do you think the robot will do?
    Does the order of the tiles matter?

     

    Challenge!

    Find an object in the room you want the robot to collect.
    How are you going to do this?
    What instructions are you going to give it?

     

    Group roles:
    Role
    Responsibility
    Algorithm designer
    Plans the sequence of tiles.
    Tile builder
    Places the tiles in order.
    Robot controller
    Starts indi.
    Predictor
    Explains what indi should do.
    Debugger
    Identifies mistakes.

     

    Extension
    What has gone wrong in your algorithm can you work together to fix it?

     

    Plenary
    What is an algorithm?
    Why does the order of instructions matter?
    What does debugging mean?
    How did you help indi reach its destination?
     

    LO: I can create and record verbal, written and symbolic instructions to test ideas, e.g. the order of waking up through a diagram or flowchart.

     

    • What should Mr Lisk do first?
    • What would happen if he put his shoes on before his socks?
    • Why is the order of instructions important?

     

    Let's create an example of a flowchart together.

     

    Main Task!

    Can you create a flowchart showing how to get ready for school?

     

    • Why have you put that instruction first?

    • What would happen if we changed the order?

    • Could someone follow your instructions without your help?

    • Is there another way to complete the task?