Scratch Coding Flashcards
What type of language is Scratch?
Block programming
The way you created a few lines of code you could re-use to kill you pet in Scratch is called what?
A function
What is a definition of a variable?
A container for storing a data value
How would you set Pet Thirst to zero?
Pet_Thirst = 0
What programming technique is an IF statement
Selection
What programming technique is an ELSE statement
Selection
What programming technique is a WHILE loop
Iteration (repeat)
What programming technique is a PRINT statement
Sequence
If you want a condition to be met once what would you use?
IF ….THEN..
What is the most obvious way to start your program?
When the Green flag is clicked
What is the value of Number 1?
100 - make sure you go through and work out why