My Projects

My Lab 6 Scratch Assignments

Problem #1

Problem #2

What is the difference between and if and and if-else statement?

- An if statement does not have an alternative but an if else statement has an alternative to the condition.

Is there a simpler way to write the following code? Explain

- The best loop structure to use when you are not sure how long it should repeat is the "forever" block because it would let you determine how long it should repeat and how long is approperiate.

Which students are described by the following conditional?

-

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…”

- A sprite would know when to begin moving when a block that is labeled "When flag is pressed" is inserted into the script. There are many other ways of moving a sprite such as by pressing the space bar or clicking the screen.

Write the condition for a number being a multiple of 15. (hint: look at the block)

-They are the same because the "if" block would include an "if not" on the other one and therefore they are both going to do the same movements when centain keys are pressed.

Click HERE to return to homepage.