Block-Based & Text Coding Flashcards
7 cards from real STEM practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Block-Based & Text Coding flashcards as text
A student drags a 'repeat 10 times' block around a 'move 10 steps' block in Scratch. What programming concept does this demonstrate?
Answer: Iteration
Wrapping actions in a repeat block demonstrates iteration, executing the same steps multiple times in a loop.
Which of the following best describes the purpose of transitioning students from Scratch to Python?
Answer: Students move from visual syntax to text-based syntax for more complex programs
Transitioning to Python helps students move beyond visual block constraints to text-based syntax capable of handling more sophisticated programs.
In block-based coding, a 'forever' loop block most closely maps to which Python construct?
Answer: while True:
A 'forever' block runs indefinitely, which maps directly to a 'while True:' loop in Python.
A teacher wants students to debug a Scratch project where a sprite never reaches its destination. Which block category should students examine first?
Answer: Motion blocks
Motion blocks control sprite movement and position, so they are the logical starting point when a sprite fails to reach its destination.
What is the primary advantage of using block-based environments like Scratch for introducing coding to elementary students?
Answer: They eliminate syntax errors so students focus on logic
Block-based environments eliminate syntax errors by snapping valid blocks together, letting students focus on computational thinking and logic.
A student uses a 'when green flag clicked' block in Scratch. This is an example of which programming concept?
Answer: Event-driven programming
The 'when green flag clicked' block triggers code in response to a user action, which is the defining feature of event-driven programming.
When converting a Scratch 'if-else' block to Python, which syntax correctly represents the else branch?
Answer: else:
In Python, the 'else:' keyword introduces the branch that runs when the if condition is false, matching Scratch's else section.