דילוג לתוכן
מבחן 10 שאלות

Coding for Young Kids

שאלות 10

מפתח התשובות מוצג למורים מחוברים.

  1. רב־ברירהשפות תכנות

    What is a sequence?

    In programming, what is a sequence?

    1. A set of instructions that run one after another, in order

    2. One instruction that is repeated many times

    3. A random group of instructions that run at the same time

    4. 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.
  2. רב־ברירהשפות תכנותcommandsprogramming vocabularybasic concepts

    What is a command?

    Which word best describes a single instruction that tells the computer or robot to do one specific action?

    1. Command

    2. Loop

    3. Comment

    4. Variable


    It is the same kind of word as 'order' or 'instruction' that you give to a robot to make it move.
  3. רב־ברירהשפות תכנותloopscode efficiencypurpose of loops

    Purpose of a loop

    Why do programmers use a loop?

    1. To store the name of a player in the game

    2. To make the program skip all of its commands

    3. To repeat a set of commands without writing them again

    4. 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?
  4. רב־ברירהשפות תכנותloopsdrawing shapesturtle commands

    Drawing a shape with a loop

    A program says: repeat 4 times: move forward 10 steps, turn right 90 degrees. What shape is drawn?

    1. A triangle

    2. A straight line

    3. A circle

    4. A square


    Count the corners. Each turn is a quarter of a full circle, which is 90 degrees.
  5. רב־ברירהשפות תכנותrepeat loopcounting iterationsbasic commands

    Counting repeats in a loop

    A program has this code: repeat 5 times: say Hello. How many times will the computer say Hello?

    1. 4

    2. 5

    3. 6

    4. 3


    Look at the number written after the word 'repeat'.
  6. רב־ברירהשפות תכנותsequencealgorithmsorder of commands

    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?

    1. The oven will turn on by itself and break

    2. Nothing is wrong, because the order never matters

    3. The cake will be baked before it is mixed, so it will not turn out right

    4. 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?
  7. רב־ברירהשפות תכנותrobot programmingcommentscode readability

    Comments in code

    In many programming languages, what is a comment used for?

    1. A command that makes the robot speak out loud

    2. A loop that repeats the same line forever

    3. A number that is added to a list of scores

    4. 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.
  8. רב־ברירהשפות תכנותloopssequence of actionsrobot programming

    Loop with two actions

    A dancing robot runs this program: repeat 3 times: clap hands, then jump. How many times does the robot jump?

    1. 2

    2. 1

    3. 6

    4. 3


    Each time the loop runs, it does the jump once. How many times does the loop run?
  9. רב־ברירהשפות תכנותdirectionsfollowing instructionsrobot commands

    Following commands in order

    A robot starts facing up. It is given these commands in order: turn right, move forward 2 steps. In which direction is it facing at the end?

    1. Down

    2. Right

    3. Up

    4. Left


    Start by picturing the robot facing up, then imagine it turning clockwise once.
  10. רב־ברירהשפות תכנותloopsrobot commandssequence of commands

    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?

    1. Write the blink command once and put it in a loop that repeats 100 times

    2. Write the blink command once and delete it

    3. Write the blink command 100 times in a row

    4. 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.

פרטים

Introductory exam on block-based coding: sequences, commands, loops and simple debugging for young learners.
מקצועות
שפות תכנות
קהל יעד
בית ספר יסודי · כיתות ב׳–ג׳
רמת קושי
2 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

  1. אין תגובות עדיין.
© כל הזכויות שמורות