Scratch (Revision Questions)
1. Which programming language is used in Scratch?
o Scratch uses a visual block-based programming language developed by MIT.
It is based on JavaScript and ActionScript for execution.
2. What is a variable?
o A variable is a storage location in programming that holds data, such as numbers
or text, which can change during program execution.
3. How do conditions affect gameplay?
o Conditionals (if-then, if-else) control how the game responds to different
situations. For example, if a player's score reaches 100, they win the game.
4. Examples of conditions in everyday life:
o If it rains, take an umbrella.
o If the traffic light is red, stop.
o If you finish your homework, you can watch TV.
5. What is the role of sprites in Scratch programming?
o Sprites are the characters or objects in Scratch that perform actions and interact
with the environment.
o They are coded using blocks to move, change appearance, or react to user input.
6. How does sprite coding contribute to animations or games?
o It brings animations and games to life by making sprites move, change costumes,
detect interactions, and respond to events.
7. Why is it important to use the “forever” or “repeat” blocks in Scratch
animations?
o These blocks loop actions continuously (forever) or for a set number of times
(repeat).
o They ensure animations and movements run smoothly without manual repetition.
8. How do they affect the flow of a program?
o Loops reduce repetition, making the code efficient and controlling the timing and
behavior of animations or game mechanics.
9. How does designing a game in Scratch differ from creating a simple
animation?
o Games involve user interaction, scoring, and logic (e.g., winning/losing
conditions).
o Animations are usually pre-scripted and do not require player inputs.
10. How might loops be used in games?
Loops are used to continuously move enemies, update scores, or repeat
background music.
Example: A car in a racing game keeps moving forward using a forever loop.
11. Can you think of a repetitive task in games that uses loops?
Player movement (running or jumping repeatedly).
Enemy patrols (moving back and forth).
Scoring system (updating score every second).
12. How can debugging be an essential part of creating a Scratch program?
Debugging helps find and fix errors, ensuring the program runs as expected.
Example: Fixing a bug where a sprite moves too fast or doesn't detect collisions
properly.
13. What makes a Scratch game or animation engaging?
Design (attractive graphics, smooth movement).
Interactivity (player controls, sound effects).
Challenges (levels, increasing difficulty).
14. Why is computational thinking important when planning a Scratch project?
It helps break down complex problems into smaller steps (decomposition).
Allows logical sequencing and efficient coding.
15. How does breaking down a problem into smaller parts help?
It makes coding easier to manage.
Debugging is simpler when working with smaller code sections.
Ensures each part of the game or animation works correctly before combining
them