After learning about being clear and detailed when writing crazy character algorithms, this time our focus was on organising our steps into a clear sequence and being efficient.

We used the song: Heads, Shoulders, Knees and Toes to show we could organise each step in the algorithm.

file_005

Then we realised it would take us ages to do the same thing over and over – we could take a shortcut. To do this we used a ‘x2’. When we start programming, this is called a loop. A loop tells you to repeat something.

file_000

file_001

file_002

file_003

file_004

Advertisements