Preview

03 - Scratch Variables

 1. You can create blocks in Scratch to store numbers or strings. Here, we are using:

  variables

  sprites

  strings

  modules

 2. These blocks allow for storing and accessing a list of numbers and strings. This programming concept is known as…

  arrays

  variables

  functions

  strings

 3. What is happening in this block of code?
scratchvariables1.png

  the program is adding '0'to the value of score

  the 'score' variable is being set to an initial value of 0

  when the green flag is clicked, everything is deleted (i.e set to zero)

  None of the above

 4. A variable can be thought of as a storage box for values. E.g you can store '12' in the variable age.

  FALSE

  TRUE

 5. What block in scratch is used to create variables

  events

  None of the above

  looks

  data

 6. A variable is a value that can never change. Once set, it cannot be altered.

  TRUE

  FALSE

 7. These blocks are examples of _________. They can act on variables.
scratchoperators1.png

  sound

  motion

  control

  operators

 8. Can you point out the variable being used in this program?
scratchspotvariable.png

  show

  if

  score

  forever

 9. If you touched Sprite2 seven times what would your score be?
scratch_score_count.png

  7

  6

  8

  5

 10. What will the cat 'say' when this script is run?
scratch_predict_speech_cat.png

  Have a nice day (only)

  Error - this program will not run

  Here's some fruit. Have a nice day

  None of the above