Coding for Young Kids
שאלות 10
מפתח התשובות מוצג למורים מחוברים.
-
What is a sequence?
In programming, what is a sequence?
A set of instructions that run one after another, in order
One instruction that is repeated many times
A random group of instructions that run at the same time
A place where a number is stored in memory
Think about what happens first, second, and third when you follow a recipe step by step. -
-
Purpose of a loop
Why do programmers use a loop?
To store the name of a player in the game
To make the program skip all of its commands
To repeat a set of commands without writing them again
To leave a note for people reading the code
Imagine you need to clap your hands ten times. Would you rather write 'clap' ten times or use a shortcut? -
-
-
Order matters in a sequence
A baking program lists these commands: 1) Bake the cake in the oven. 2) Mix the flour and eggs. What is the most likely problem with this order?
The oven will turn on by itself and break
Nothing is wrong, because the order never matters
The cake will be baked before it is mixed, so it will not turn out right
The computer will not be able to read the word 'cake'
In a recipe, what must happen first: mixing the ingredients or putting the cake in the oven? -
Comments in code
In many programming languages, what is a comment used for?
A command that makes the robot speak out loud
A loop that repeats the same line forever
A number that is added to a list of scores
A note written in the code to explain it to people, which the computer ignores
Think about sticky notes you might leave for a friend in a shared notebook. -
-
-
Why a loop is helpful
A program needs to make a robot blink its light 100 times. Which approach is the best choice in programming?
Write the blink command once and put it in a loop that repeats 100 times
Write the blink command once and delete it
Write the blink command 100 times in a row
Write the blink command once and hope the robot does it 100 times
Think about which choice keeps the code short and easy to change if you later need 50 blinks instead.
פרטים
- מקצועות
- שפות תכנות
- קהל יעד
- בית ספר יסודי · כיתות ב׳–ג׳
- רמת קושי
- 2 מתוך 10
- שפה
- אנגלית
- מי יכול לראות
- כולם
- נוצר באמצעות AI
- Claude Haiku 5.5
- נוצר
תגובות