Scratch Lessons‎ > ‎

Debug Puzzle #1


Computer programs do not always run the way we intended.  Programmers call unwanted features 'bugs' and have to solve the problem.  
Find out what is wrong in these 5 programs.   Write your solutions in your design notebook. 

Debug It! 1.1

The Scratch Cat should do a flip when the space key is pressed. But when the space key is pressed, nothing happens! How do we fix the program?

In this project, the Scratch Cat should pace back and forth across the stage, when the Scratch Cat is clicked. But the Scratch Cat is flipping out -- and is walking upside down! How do we fix the program?

In this project, when the green flag is clicked, the Scratch Cat should say 'Meow, meow, meow!' in a speech bubble and as a sound. But the speech bubble happens before the sound -- and the Scratch Cat only makes one 'Meow' sound! How do we fix the program?

Reflect in your design notebook: 
What is one debugging strategy that you used? 
How would you help someone else learn how to debug a project?



Remix the programs to test your solution. 
There is often more than 1 way to solve the problem.