Home About Me Scratch Web Development Google 20 Python Assignments Java Assignments

My Scratch Stuff

Assignments

Pair Programming

Here, my partner, Randy, and I were tasked with making two sprites bounce around the entire area. Alos, if they collided with eachother they would say "Ouch!" and bounce off of each other in random directions. Also, if they touched when they were both in the third quadrant (Bottom Left) they would glide to the first quadrant (Top Right).

Click here for the project link.

Etch a Sketch

This program was fairly easy to make, I had to make it so if any of the arrow keys were pressed, the bananan would point in that direction, also for it to continuously move forward. It was fairly easy to finish.

Click here for the project link.

Spelling Bee

In this program I had to make it so when the user entered any word, the sprite would spell it back to you letter for letter. Alos, I had to make it so if the word was longer thatn 10 letters to ask for a new word that was less than 10 letters. It was also very easy to make.

Click here for the project link.

Rock, Paper, Scissors

Rock, Paper, Scissors is a very common game and it was not particularly easy to make. I had to make it so when the user picked rock, paper, or scissors the computer would pick one at the same exact time. Alos I need to mnake it random which wasn't easy. After that, I needed a way to keep track of each of the players wins.

Click here for the project link.

Questions

  1. What is the difference between and if and and if-else statement?
  2. Is there a simpler way to write the following code? Explain.
  3. Which students are described by the following conditional? “if you are not a Senior and you are on the soccer team or you are in band then…”
  4. If the statement from Question 3 is changed as shown below, who else is included in the condition? “if you are not a Senior OR you are on the soccer team or you are in band then…”
  5. Write the condition for a number being a multiple of 15. (hint: look at the "Mod" block).