In this activity, you will investigate what is going awry and find a solution for each of the five Debug It! challenges.
In this project, Scratch Cat wants to show you a dance. When you click on him, he should do a dance while a drum beat plays along with him. However, as soon as he starts to dance he stops but the drumming continues without him! How can we fix this program?
In this project, when the green flag is clicked Pico should move towards Nano. When Pico reaches Nano, Pico should say “Tag, your it!” and Nano says “My turn!” But something is wrong! Pico doesn’t say anything to Nano How do we fix the program?
This project is programmed to draw a happy face but something is not quite right! The pen continues to draw from one of the eyes to the smile when it should not be doing so. How can we fix the program?
In this project, when the green flag is clicked an animation of a flower growing begins and stops once it has fully bloomed. But something is not quite right! Instead of stopping when all the petals have bloomed, the animation starts all over. How do we fix this program?
In this project, the Happy Birthday song starts playing when the green flag is clicked. Once the song finishes, instructions should appear telling us to "click on me to blow out the candles!" But something is not working! The instructions to blow out the candles are shown while the birthday song is playing rather than after it finishes. How do we fix this program?