Homework #3 - Scratch Programming

30 Points

Purpose:  This assignment is to help reinforce the idea that programs are constructed from processes (or algorithms) that use loops and decision making (that is, selection).

Instructions: Complete the exercises below on your own. Once complete, print copies of each of your programs to hand in at the beginning of class on the due date.

Programming Projects:

  1. Write a Scratch program to make Scratch the Cat sink and disappear into the pool as shown in the squence below.  Your program does not need to use any selection or looping control structures, simply move Scratch around with "glide" statements.




  1. Using the following template Scratch program:
      

Insert a selection (i.e., if) statement into the loop to have Scratch the cat say "Got me" whenever the mouse cursor is touching him, as shown.



  1. Write a Scratch program that creates the image shown below where the inner box is 10 pixels on a side and each of the next 30 boxes is ten pixels larger than the last
.