Solutions for Debug It! Week II
Debug 2.1In this project, the Scratch Cat teaches Gobo to meow. But when it's
Gobo's turn to try, Gobo stays silent. How do we fix the program?
Scratch Cat made a Block Meow that was used in Scratch Cat's script to create the Meow sound. The script for the Gobo sprite referenced this new Block "Meow", but Block is not attached to 2nd sprite and there is no sound. You can recreate the Meow Block and write an identical script that results in Gobo saying Meow. Or, you can define a broadcast Meow in Scratch Cat script and define a When I receive this broadcast the Meow script is executed.
![]()
Debug 2.2
In this project, the Scratch Cat is supposed to count from 1 to the number the user provides.
But the Scratch Cat always counts to 10. How do we fix the program?
The Block defined Counting and the repeat loop was set to execute 10 times - result is always counting to ten. Using the user's answer to the question "What should I count to?" as the number of repeats results in counting to the user's answer.
Debug 2.3In 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! How do we fix the program?
Replace the broadcast block with the broadcast and wait block.
![]()
Debug 2.4
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. How do we fix the program?
Scratch Cat's script did not Broadcast the Jump!
. Needed to add the Broadcast block to the end of Scratch Cat's script to enable Gobo to jump and fix the program.
![]()
2.5
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.
How do we fix the program?
I'll be interested in reading other solutions as I'm thinking there has to be another solution, but the only solution I've found is to add the blocks " when backdrop switches to castle, moon or auditoriun, assign sprite a specific location and hide. When the dinosaur sprite's backdrop switches to auditorium assign specific location, show and the dance begins.
![]()