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

Sequences, Loops and Conditions

שאלות 10

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

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

    Order of Instructions

    A block-coding program moves a character forward, then turns it right, then moves it forward again. Why does the order of these blocks matter?

    1. The computer skips every second block in a sequence

    2. Blocks run in the order they are placed, so changing the order changes the path the character takes

    3. Blocks always run at the same time, so the order does not matter

    4. Blocks are sorted alphabetically before the program runs


    Think about how you would follow a recipe: do the steps in a different order and what happens to the result?
  2. רב־ברירהשפות תכנותblock codingloopsrepeat block

    Purpose of a Loop

    A programmer wants a character to draw a square with four sides. Which block type is most useful to avoid placing the same move-and-turn blocks four times?

    1. A broadcast block

    2. A repeat block (loop)

    3. A variable block

    4. A comment block


    Look for the block that runs a group of blocks a set number of times.
  3. רב־ברירהשפות תכנותblock codingconditionalsif block

    Reading a Condition

    In a block program, a robot moves forward as long as the path ahead is clear. Which block type checks whether something is true before deciding what to do?

    1. A wait block

    2. A sound block

    3. A conditional (if) block

    4. A move block


    This block asks a yes-or-no question and chooses an action based on the answer.
  4. רב־ברירהשפות תכנותblock codingrepeat untilloops

    Repeat Until

    A character should keep walking forward until it touches the edge of the screen. Which kind of loop fits this task best?

    1. A repeat until loop that stops when the edge is touched

    2. A single move block with no loop

    3. A loop that never ends under any condition

    4. A loop that repeats exactly 100 times no matter what


    Choose the loop that continues based on a condition instead of a fixed count.
  5. רב־ברירהשפות תכנותblock codingsequencingsprite direction

    Sequence Result

    A sprite starts facing right. The program runs: move 10 steps, turn 90 degrees clockwise, move 10 steps. In which direction is the sprite facing at the end?

    1. Down

    2. Left

    3. Up

    4. Right


    Picture the sprite turning clockwise from facing right: right, then down, then left, then up.
  6. רב־ברירהשפות תכנותblock codingloopsconditionsScratch

    Combining Ideas

    A program repeats 5 times: move forward 1 step, and if the sprite touches the wall, it says Ouch. What combination of block ideas does this program use?

    1. Only a sound effect with no movement

    2. Only a sequence with no repetition

    3. A loop combined with a condition

    4. Only a variable with no decisions


    Count how many block types repeat and how many check something.
  7. רב־ברירהשפות תכנותblock codingdebuggingloopsScratch

    Debugging a Loop

    A student wants a sprite to jump three times, but the sprite jumps only once because the jump block is placed outside the repeat block. What is the best fix?

    1. Delete the repeat block and keep the jump block

    2. Change the sprite's color

    3. Move the jump block inside the repeat block

    4. Add a second jump block outside the loop


    A block inside a loop runs again each time the loop repeats; a block outside it runs only once.
  8. נכון / לא נכוןשפות תכנותblock codingsequencingprogram orderScratch

    Order of blocks

    In block coding, a program runs its blocks from top to bottom, one after another, so the order in which blocks are placed changes what the program does.

    1. True

    2. False


    Think about what happens when you put the same blocks in a different order, like getting dressed: socks before or after shoes.
  9. נכון / לא נכוןשפות תכנותblock codingconditionsif blockScratch

    Conditions in block coding

    A condition block, such as an if block, can check whether something is true and run its inner blocks only when that check is true.

    1. True

    2. False


    Recall the kind of block that asks a question like 'Is the key touching the door?' before deciding what to do.
  10. נכון / לא נכוןשפות תכנותblock codingrepeat looploopsScratch

    Repeating actions

    A repeat block with the number 4 inside it will run the blocks inside it only once, no matter what the number is.

    1. True

    2. False


    Think about what the number on a repeat block tells the computer to do.

פרטים

Questions on sequences of commands, repeating loops and simple conditions in block coding. Suitable for young learners in English.
מקצועות
שפות תכנות
קהל יעד
בית ספר יסודי · כיתות ב׳–ד׳
רמת קושי
3 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

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