by BlastRoom
Students explain what a variable is, choose good variable names and track how values change in scores, lives and timers.
#computing#ict#cambridge_computing#cambridge_computing_stage_6
20 questions
One question set, multiple game modes. Tap any game to see it in action. Not sure which to pick?
What is a variable in a program?
Why is a variable called a variable?
Which is the best name for a variable that stores a player's score?
In languages like Python, which of these is a valid variable name?
score is set to 0. Then score = score + 5. What is score now?
lives is set to 3. The player is hit, so lives = lives - 1. What is lives now?
a is set to 5. Then a is set to 8. What is a now?
What happens to a variable's old value when it is set to a new value?
How many values can a simple variable, like score, hold at one time?
x = 4 and y = x + 2. What is y?
In Scratch, which block adds 1 to the score variable?
In Scratch, what is the difference between set score to 5 and change score by 5?
In Scratch, score is set to 10. Then change score by 5 runs twice. What is score?
coins is set to 2. Then repeat 3 times: change coins by 2. What is coins?
Why should a game set score to 0 when the green flag is clicked?
A timer variable starts at 30. Every second, change timer by -1. What is timer after 10 seconds?
A game should end when the countdown timer runs out. Which condition checks for this?
A program stores age = 11. What type of data is stored in age?
Which value would best be stored in a variable called playerName?
Where does the computer keep a variable's value while a program is running?
Outrun the horde and crack the passcode.
Pick a tile, answer, hit bonuses and steals.
Networks and the Internet
20 questions
Robots and Automation
20 questions
Search and Sort Algorithms
20 questions
Selecting Hardware and Software
20 questions
Spreadsheet Formulas
20 questions
Stage 6 Review 1
40 questions
Stage 6 Review 2
40 questions
Sub-routines
20 questions
Animation and Movement
20 questions
Automation in Industry
20 questions