Online Coding Lessons Scratch and Block-Based Coding 2 — Questions and Answers
Question 1: What is the 'Stage' in Scratch?
- A special type of sprite
- The background where sprites perform (Correct answer)
- The code editor window
- The sound library
Correct answer: The background where sprites perform
The Stage in Scratch is the background area where sprites move and interact, similar to a theater stage.
Question 2: Which block category in Scratch would you use to make a sprite change its appearance?
- Motion
- Sensing
- Looks (Correct answer)
- Variables
Correct answer: Looks
The 'Looks' category contains blocks for changing a sprite's costume, size, color effects, and visibility.
Question 3: What is a 'variable' in Scratch?
- A type of sprite costume
- A container that stores a value that can change (Correct answer)
- A block that loops code
- A type of background
Correct answer: A container that stores a value that can change
A variable in Scratch is a named storage container that holds a value (like a score or count) that can be read and changed by scripts.
Question 4: In Scratch, what does the 'if-then' block do?
- Repeats blocks forever
- Runs blocks only if a condition is true (Correct answer)
- Stops all scripts
- Broadcasts a message
Correct answer: Runs blocks only if a condition is true
The 'if-then' block in Scratch executes the enclosed blocks only when the specified condition evaluates to true.
Question 5: What are 'costumes' in Scratch?
- Background images
- Different visual appearances of a sprite (Correct answer)
- Sound effects
- Types of loops
Correct answer: Different visual appearances of a sprite
Costumes are different visual appearances of a sprite that can be switched to create animation effects.
Question 6: How do sprites communicate with each other in Scratch?
- Using the Motion blocks
- Using the 'broadcast' and 'when I receive' blocks (Correct answer)
- Using the Pen blocks
- Using the Operators blocks
Correct answer: Using the 'broadcast' and 'when I receive' blocks
Sprites communicate in Scratch using broadcast messages — one sprite sends a message, and another reacts when it receives that message.
What is the 'Stage' in Scratch?