


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



In today’s coding activity, you will use debugging tips and tricks to identify and fix errors in five di erent Scratch programs.
Click the button below to open up a preview of what you’ll be creating today.
❏ I looked at all five of the Scratch Debug It projects. ❏ I identified the cause of the errors in each project and added blocks or explained how to fix each error.
❏ Create a project that has at least one error and trade projects with a classmate to debug each other’s work.
Use debugging tips and tricks to identify and fix errors in five di erent Scratch programs.
Here are some of the code blocks you've used so far that might help you with your debugging missions.
When Giga broadcasts the message "ShowPico," Pico the sprite should appear, but he doesn't!
Look at the code and debug the program so that Pico appears when Giga broadcasts the message.
The ladybugs should jump when they receive the "jump" broadcast, but Yellow Ladybug doesn't jump!
Look at the code and debug the program so that Yellow Ladybug jumps.
The other sprites are supposed to start dancing when Scratch Cat is clicked, but they don't!
Look at the code and debug the program so the dance party starts when Scratch Cat is clicked.
The monkey should move to the trampoline when the trampoline is clicked, but he does not!
Look at the code and debug the program so that the monkey moves to the trampoline when the trampoline is clicked.
The horizontal (x) and vertical (y) address of any point on a computer screen.
Finding and fixing errors in a program.
Use the links in this section if you are stuck or simply want to know more about using a code block or concept in Scratch.
● Scratch homepage ● Scratch "1.10 Debug It!" Studio ● Coding Activity Walkthrough Video
● Events blocks ○ when green flag clicked ○ when this sprite clicked ○ when () key pressed ○ broadcast () ○ when I receive () ● Motion blocks ○ point in direction () ○ turn right () degrees ○ turn left () degrees ○ set x to () ○ set y to () ○ change x by () ○ change y by () ○ glide () secs to x: () y: () ○ move () steps ○ go to () ○ go to x: () y: () ● Looks blocks ○ say () for () seconds ○ change size by () ○ set size to () % ○ change () e ect by () ○ show ○ hide