understand what algorithms are; how they are implemented as programs on digital devices; and that programs execute by following precise and unambiguous instructions.
To understand that a computer will follow typed commands step-by-step (top to bottom).
create and debug simple programs
LO: To begin to type instructions into a computer.
Use the worlds Home1, 2 and 3 (or any simple world you have created with a finishing point).
Demonstrate/show how these will look in Blockly (Py) and then demonstrate how the commands can be written into the code area in Python.
You can change the programming mode using this menu, change the mode from Blockly (Py) to Python.
This is where you can emphasise the importance of correct typing. At this stage we only have to worry about not using capital letters, correct spelling and correct formatting - a command is followed directly by parentheses.
Move() #is incorrect, Python does not like capital letters. move #is incorrect, there are no brackets telling Reeborg this is a command. move () #is incorrect, there should not be a space between the name and the brackets. move() move() # is incorrect, new commands go on new lines.
For children who really struggle with typing, Reeborg has an keyboard option where the commands can be clicked.
Even when using Reeborg's keyboard it is still important to keep on practising typing - many errors in coding come down to syntax errors; incorrect spelling or incorrect formatting (not placing parentheses correctly for example).
Completing home3 in Blockly (Py) will look like this:
In Python it will look like this:
#home3 move() move() turn_left() move()
Each command is written on a new line and every command includes brackets.