Font size
WorksheetsWG:CO: U3L17: Warm up Review: Programming Concepts Quiz
Total questions: 26
Worksheet time: 13mins
What happens in a program when the user presses the space key, according to the example provided?
The sprite disappears
The sprite jumps
The program closes
The score increases
What should a program do if a sprite touches the edge, based on the example?
The sprite turns around
The sprite stops moving
The program restarts
The score decreases
In the example provided, what happens if the score is above 10?
The program ends
A 'You win!' message is shown
The sprite jumps
The score resets to zero
What is the purpose of checking something in the game or animation, as described in the material?
To make the program crash
To respond to specific conditions
To delete the sprite
To increase the score automatically
What is an example of creating different outcomes or choices in a program?
If the user presses the space key, the sprite jumps
If the score is above 10, show a 'You win!' message; else, keep playing
If a sprite touches the edge, it turns around
If the program starts, the sprite disappears
What are two big things that everyone should remember when using conditionals?
Conditionals are used to repeat actions indefinitely.
Conditionals help make decisions based on specific criteria.
Conditionals are only used in mathematical equations.
Conditionals allow programs to execute different actions based on whether a condition is true or false.
What is required for a conditional to run in a program?
The condition must be false.
The condition must be true.
The computer ignores the condition.
The condition must be undefined.
What does the computer do when a condition is true?
It skips the code inside the "if".
It checks the rule and runs the code inside the "if".
It stops the program entirely.
It runs all the code regardless of the condition.
What must a condition be for the computer to check it?
Vague and undefined.
Clear, specific, and based on something in the program.
Random and unrelated to the program.
A guess made by the programmer.
Which of the following is an example of a condition the computer can check?
A random thought.
A key press, a sprite property, or a comparison.
A sentence written by the programmer.
A condition that is not related to the program.
What is one thing the author wants to learn how to program in a game?
How to create a game with different levels.
How to design characters for the game.
How to add music to the game.
How to make the game multiplayer.
Which of the following is NOT mentioned as a feature the author wants to learn to program in a game?
Changing the background.
Making the challenges harder.
Adding sound effects.
Switching to the next level when the player reaches a goal.
What happens in the game when the player reaches a goal, according to the author?
The game ends.
The player switches to the next level.
The player earns points.
The background changes.
What does the author want to learn about making challenges in a game?
How to make challenges easier.
How to make challenges harder.
How to remove challenges.
How to skip challenges.
What is one feature students want to learn to program in a game involving enemies?
Enemies that follow the player or bounce around the screen
Enemies that disappear when clicked
Enemies that change colors randomly
Enemies that stay stationary throughout the game
Why do students want to add sound effects and music to their projects?
To make their games feel more exciting
To make their games easier to play
To make their games look visually appealing
To make their games harder to win
What is the purpose of creating a score system that updates during the game?
To increase the score when something good happens
To decrease the score when something bad happens
To reset the score after every level
To keep the score constant throughout the game
What is one goal mentioned in the 3-2-1 Review for making animations?
To make animations that look smooth and realistic
To create animations with random movements
To make animations that are static and unchanging
To avoid using sprites in animations
What is an example of a power-up mentioned in the 3-2-1 Review?
Collecting a star to make the player faster
Collecting coins to unlock new levels
Collecting gems to change the background
Collecting hearts to increase the score
What feature is mentioned in the 3-2-1 Review to make the game feel more realistic?
Adding a "game over" screen and a restart button
Adding random colors to the game
Removing all animations from the game
Using only one character in the game
What is one way to allow users to choose different characters in a game?
Picking a different sprite at the start
Using the same sprite for all characters
Removing the option to choose characters
Adding random movements to the characters
What can the computer do when a key is pressed?
Move a sprite, change an animation, or start an action
Open a new window or close the program
Display a message or play a sound
Save the current progress automatically
What happens when the mouse is clicked in an interactive animation?
A sprite can jump, change color, or appear
The computer shuts down
A new file is created
The screen resolution changes
What can a sprite do when moving the mouse?
Follow the mouse or point toward it.
Change its color.
Play a sound.
Increase the score.
What happens when a sprite touches or collides with an object?
The computer can play a sound or change the score.
The sprite disappears.
The computer shuts down.
The sprite changes its shape.
What can the computer do when the user types into a text box?
Show a message or change the scene based on the input.
Play a sound.
Move the sprite.
Increase the score.
