understand what algorithms are; how they are implemented as programs on digital devices; and that programs execute by following precise and unambiguous instructions.

create and debug simple programs

use logical reasoning to predict the behaviour of simple programs


LO: To program a robot to complete a task (1).

The next two lessons will be the challenge of completing the Big Maze world available below.

This would be helpful at this point to remind the children about 1.6b and how to turn right (it's 3 left() commands).

The challenge is to write code to navigate through the maze to the home square.
It is recommended that the children test their code frequently to make sure they are not crashing into walls. The step command will come in use here.

As this is a big challenge we will get the children to save their code so that they can complete it during next session: Additional Options/Program in Editor/Save program to file. The children will then be able to load this file back into the editor window by going to Additional Options/Program in Editor/Import program from file.

Remember to check the help page for any help for this unit.

Code Examples