by BlastRoom
Students use variables for score, lives and level in games and trace the conditions that change level, end a game or set a high score.
#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?
A game has a variable called level. What does it most likely store?
Which rule moves the player to level 2 once they have 10 or more points?
Which condition should end the game when the player has no lives left?
lives starts at 3. The player is hit twice, then picks up a heart that adds 1 life. What is lives now?
score starts at 0. Each coin adds 5 points. The player collects 4 coins, then a trap takes away 10 points. What is score?
A game starts at level 1. The level goes up by 1 at 50 points and again at 100 points. The score is 120. What level is the player on?
Why might a game make the enemies move faster as the level goes up?
A game sets enemySpeed = level * 2. The level is 4. What is enemySpeed?
The score starts at 0 and each coin adds 3 points. A game checks IF score = 100 THEN level = 2. The score goes past 100 but the level never changes. Why?
A game uses IF score = 100 THEN level = 2, but the score can skip over 100. Which condition fixes this?
Which condition checks whether the player has beaten the high score?
highScore is 70. A game ends with score 50. Then IF score > highScore THEN highScore = score runs. What is highScore?
In Scratch, which block makes a variable's value appear on the Stage during a game?
A player loses all their lives on level 3 and presses Play Again. Which variables should be reset?
A game checks IF level = 3 AND score > 200 THEN show You win. The player is on level 3 with a score of 150. What happens?
A game checks IF lives = 0 OR timer = 0 THEN game over. The player has 2 lives and timer is 0. Is it game over?
Why use one level variable instead of writing a separate program for every level?
A star gives 2 points if level >= 2, otherwise 1 point. score starts at 0. The player gets 3 stars on level 1, then 2 stars on level 2. What is score?
In Scratch, the player sprite and the coin sprites all need to change score. How should score be made?
A game checks IF lives < 0 THEN game over. lives starts at 3 and each hit takes away 1. After how many hits does the game end?
Outrun the horde and crack the passcode.
Pick a tile, answer, hit bonuses and steals.
Debugging and Testing
20 questions
Decomposition and Problem Solving
20 questions
Files and Digital Content
20 questions
Flowcharts
20 questions
Keeping Data Safe
20 questions
Networks and the Internet
20 questions
Robots and Automation
20 questions
Search and Sort Algorithms
20 questions
Animation and Movement
20 questions
Automation in Industry
20 questions