DebugIt - Debugging Code

DebugIt Summary

One of the most important skills that a programmer can develop is the ability to look at some existing code that doesn't do what it is supposed to do and figure out how to fix it. In this DebugIt you will be presented with several programs that don't work the way they are supposed to. It will be your job to figure out what is happening and fix the buggy program.

 

Requirements

 

 

DebugIt 1 - https://scratch.mit.edu/projects/46224226/

When the green flag is clicked, both Gobo and Scratch Cat should start dancing. But only Scratch Cat starts dancing!

 

 

DebugIt 2 - https://scratch.mit.edu/projects/46224348/

In this project, when the green flag is clicked, the Scratch Cat should start on the left side of the stage, say something about being on the left side, glide to the right side of the stage, and say something about on the right side. It works the first time the green flag is clicked, but not again.

 

 

DebugIt 3 - https://scratch.mit.edu/projects/46224432/

The Scratch Cat should do a flip when the space key is pressed. But when the space key is pressed, nothing happens!

 

 

DebugIt 4 - https://scratch.mit.edu/projects/46224570/

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!

 

 

DebugIt 5 -https://scratch.mit.edu/projects/46224634/

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!

 

 

DebugIt 6 - https://scratch.mit.edu/projects/46451030/

In this project, the Scratch Cat teaches Gobo to meow. But when it's Gobo's turn to try -- Gobo stays silent.

 

 

DebugIt 7 - https://scratch.mit.edu/projects/46450950/

In this project, the Scratch Cat is supposed to tell a nursery rhyme which the two birds act out. Unfortunately Paul the Parrot isn't flying away and coming back when he is supposed to.

 

 

DebugIt 8 - https://scratch.mit.edu/projects/46451622/

In this project, the Scratch Cat is doing roll call with Gobo's friends: Giga, Nano, Pico, and Tera. But everything is happening all at once! 

 

 

DebugIt 9 - https://scratch.mit.edu/projects/46450818/

In this project, the Scratch Cat and Gobo are practicing their jumping routine. When Scratch Cat says "Jump!", Gobo should jump up and down. But Gobo isn't jumping.

 

 

DebugIt 10 - https://scratch.mit.edu/projects/46450768/

In this project, the scene changes when you press the right arrow key. The star of the project -- a dinosaur -- should be hidden in every scene, except when the scene transitions to the auditorium backdrop. In the auditorium, the dinosaur should appear and do a dance. But the dinosaur is always present and is not dancing at the right time.

 

Suggestions

Feeling Stuck? Try some of these things: