Preview

02 - Scratch Programming Concepts

 1. Scratch is a beginner's visual (drag drop) programming tool that allows you to create interesting things including games.

  TRUE

  FALSE

 2. Coloured blocks of instructions are joined together to create programs. These are called:

  scratchets

  mits

  block-bits

  scripts

 3. Blocks (scripts) tell the characters on the screen what to do. Characters are called:

  sprites

  mites

  bytes

  scratchites

 4. What is the definition of a variable?

  Something (e.g. a value like a name or number) that is stored by the computer but the value changes.

  Something that cannot be changed

  Something that is not stored but the value changes

  Something used by the character only

 5. What is an IF Statement?

  an outcome produced by the computer

  a decision made by a computer to chose an outcome

  inputting raw data into a computer

  something that can be stored but changed

 6. What is a loop?

  A loop allows a program or block of code to run continuously until told otherwise.

  A loop is when end the program unexpectedly

  A loop is the same thing as a variable

  A loop is when you identify an error in your code and fix it

 7. What is an algorithm? (can you write algorithms in scratch?)

  An algorithm is a complex piece of code that cannot be written or implemented in scratch

  An algorithm is basically an if statement inside a variable.

  None of the above

  An algorithm is just a sequence of instructions telling the computer what to do!

 8. Algorithms are:

  Only used in Maths

  Only used in the creation of robots or sprite movement

  Only used in Computer Science

  All around us - we use them all the time without realising it!

 9. An example of an algorithm is:

  None of the above

  The steps involved in the process of 'making a cake'

  Score

  An object that can be moved such as a sprite

 10. The three programming constructs are:

  Statements (series of steps), spritation (creating sprites) and variableation (making variables)

  Sequence, Collision Detection and Variable creation

  Selection (if statements), Iteration (loops) and Sequence (series of steps)

  None of the above

 11. Several statements joined together in an order is called:
scratchsequence.png

  sequence

  selection

  None of the above

  iteration

 12. When programming it is important to 'decompose' this means to:

  break problems into small parts, and solve each part

  break problems into bigger problems

  delete problems and try to start without them

  None of the above

 13. Selection is the use of if statements to make a __________________

  sprite sequence

  help menu

  decision which produces a specific output depending on the input

  command

 14. Repeating a sequence or a statement more than once until a condition is met is called:
scratchforeverloop.png

  selection (if statements)

  iteration (loop)

  maintenance (maintaining the program)

  sequence (series of statements)

 15. A statement which can either be true or false is known as a..?
scratchboolean.png

  boolean

  question

  option

  variable