Scratch Lab 6

Problem 1 is an etch-a-sketch made by using several if, then pieces to tell the cat sprite what to do when the different arrow keys were pressed, and to go back to the coordinate (0,0) when the space bar is pressed and for everything to clear.

Problem 2 is a control on the speed of the costume changes. I made a variable called speed, and I made it so as the "faster" button is pressed, the time in between costume changes shortened and when the "slower" button is pressed, the time increases.If the speed ever got to the point where the time between costume changes is less than every 0.2 seconds, then everything stops.

Question 1

An if-else statement gives an alternative option if the if statementn is false.

Question 2

Yes, if you take out the move 10 steps piece out and put the say "My mouse is at zero!" piece in just an if then control, then you can put the move 10 steps separate from it and the code will be the same.

Question 3

All of the kids on the soccer team or in band who are not seniors.

Question 4

Everyone who is not a senior is inclued and members of the soccer team or band that are seniors are also included.

Question 5

You put the number in question in the first space and then put15 in the second space and if it comes up with 0 then the number is divisble by 15.