Jam sandwich algorithms

The jam sandwich ingredients with the key words list
The jam sandwich ingredients with the key words list

In Computing with Mr Baddhan today, Year 5 Kestrels spent the afternoon learning about algorithms and debugging. The children were asked to write instructions to make the sandwich-bot (Mr Baddhan), make a jam sandwich but only using key words (below).

These were the only words children could use in their instructions
These were the only words children could use in their instructions

If the bot was unable to understand the command, Mr Baddhan would say “error” so children were asked to debug and fix the code or instructions.

The children then took it in turns to become a bot using another child’s instructions.

Faith having a go at being a sandwich-bot taking instructions from another child
Faith having a go at being a sandwich-bot taking instructions from another child

The afternoon was full of laughter, fun and learning.

Children typed their instructions, they'll appear on this blog next week
Children typed their instructions, they’ll appear on this blog next week

One thought on “Jam sandwich algorithms

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.