Today, we are going to continue with our work on algorithms.
Chat with your adult about
Next, open 'the wrong sandwich' activity on Purplemash. I have allocated it as a 2Do for you. Look at the picture of the sandwich. What do you think has gone wrong with the algorithm (instructions) for making the cheese sandwich?
Click OK once you have looked at the picture. Then click on the green cross to go to the gallery of pictures. Look through the gallery of pictures. The algorithm is not very good, so a robot making a sandwich could probably make some mistakes.
Chat with your adult about the 'wrong photos'. What has happened? How have they gone wrong?
ADULTS SEE the instructions below to help your children understand about some of the pictures/photos and sentences that have gone wrong.
Now, let's debug the algorithm.
When you debug a program, you look for any bugs (problems) in the code and try to fix them.