News

Exploring algorithms

In Year 2 we have been exploring algorithms to control each other and a sprite on a computer game.

At the beginning of the week we had to write instructions to reach planets we set up in the playground. When we had finished writing our algorithm we had to test it and found we had mistakes because the person following our instructions travelled the wrong way!

Later in the week we explored how to control a sprite on a computer program. Once we worked out how to control the rocket we had to write down instructions to take the rocket to visit each planet. When testing our instructions we discovered some mistakes and worked hard to correct them.

This week Year 2 have discovered that debugging is a very important part of coding!