Preview

09 - Final Test

 1. Scratch is just a simple beginner's website that allows users to cut and paste images and move them around.

  FALSE

  TRUE

 2. There are three main programming constructs. They are: Sequence, Selection and _____________

  variablation

  decomposition

  abstraction

  iteration

 3. The following code snippet seeks to find the sum of fractions but it will not work because ______________
scratchfinaltestbeginner1.png

  the code is all in the wrong order. The last block 'change total by 1' should be at the start.

  The command 'set total to 0' should be 'set total to 100 instead.

  the n variable will be equal to 0 on the last iteration (loop) and will cause a zero division error

  None of the above

 4. This code updates a variable. It outputs the value of (var1+var2) * var 3
scratchfinaltestbeginner2.png

  FALSE

  TRUE

 5. This code contains selection but no iteration.
scratchfinaltestbeginner3.png

  TRUE

  FALSE

 6. This method and code snippet illustrates the use of a ________ variable. The result is either 'true' or 'false'
scratchfinaltestbeginner4.png

  y axis

  positive

  inset

  boolean

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

  FALSE

  TRUE

 8. What block in scratch is used to create variables

  looks

  events

  None of the above

  data

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

  FALSE

  TRUE

 10. Analyse the block of code below. What will it do?
whatwillthisscriptdo.png

  the sprite will only move when it is touching the colour orange

  the sprite will continue moving until the sprite touches orange

  The sprite will move forever

  the sprite will stand still and turn orange

 11. These two commands in programming are also referred to as:
thesetwocommands_scratch.jpg

  objects

  iteration

  variable setting

  selection

 12. What will make the Sprite move 10 steps to the right?
scratch_foreverif.png

  If it is touching the colour pink

  If it is touching the Edge of the screen

  If it touching the mouse

  If it is touching the colour Yellow

 13. The background of the stage is called the___________-

  backdrop

  stage

  sky

  costume area

 14. Mouse x-y indicates the location of the cursor

  TRUE

  FALSE

 15. Which block allows you to make a variable?

  data

  stage

  sensing

  costumes

 16. What is the stage?

  A box you stand on when you can't see over the crowd

  The graphical area of a scratch program, where sprites move

  The coding area of a scratch program, where blocks go

  Place where actors stand and perform

 17. An Algorithm is a the same thing as a loop. It means 'repeat'

  FALSE

  TRUE

 18. A message sent through the Scratch program, activating "When I receive ( )" blocks

  wait

  remix

  stage

  broadcast

 19. What will this piece of scratch code do?
scratch_describe1_1.png

  turn the sprite to the right.

  when the left arrow is pressed move the sprite to the left.

  when the right arrow is pressed move the sprite to the right.

  turn the sprite to the left

 20. Look at the forever code block. In relation to this, which statement is correct?
scratch_describe_1_2.png

  Makes the code inside loop forever

  makes the code outside loop forever

  will loop forever until the colour 'mustard' is clicked.

  will loop forever until something happens