9
P
ro
-B
o
t
-
Te
ac
her
G
ui
de
Key Focus 4 – Using Procedures
(A set of instructions to complete a specific task)
Preparation
Check Pro-Bot powers up when switched on. Identify a suitable surface to run Pro-Bot
on. Smooth surfaces will allow Pro-Bot to move more accurately. Ensure large sheets of
paper and felt tips are available.
Activity
Procedures are a great way for pupils to solve problems by decomposing them into
smaller parts.
In LOGO, the programmer can ‘teach’ a new command, for
example to ‘Square’. Every time the command ‘Square’ is typed,
LOGO will carry out that procedure. Pro-Bot can be 'taught' new
actions using its procedure functionality. For example pupils could
use ‘Proc1’ to store instructions to draw the first initial of their
name and ‘Proc2’ to store instructions for the second initial. By
using ‘Proc1’ and ‘Proc2’ from the main program, Pro-Bot will
then draw the children’s initials.
NB Pro-Bot has a hidden ‘Proc39’ which draws a diamond and a hidden ‘Proc40’ which
draws 8 diamonds as a star.
Main
Proc40