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

Coding with Simple Commands

שאלות 10

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

  1. רב־ברירהמדעי המחשבשפות תכנותScratchgreen flagevent blocks

    Starting a script with a green flag

    In Scratch, which block should be placed at the top of a script so that the script starts when the player clicks the green flag?

    1. repeat 10

    2. when green flag clicked

    3. forever

    4. stop all


    Look for the block that is an event: it waits for something to happen before the blocks below it run.
  2. רב־ברירהמדעי המחשבsequenceexecution orderblock-based coding

    Meaning of a sequence

    What is a sequence in block-based coding?

    1. A message that the computer shows only once

    2. A single block that changes the color of a sprite

    3. A group of blocks that the computer runs one after another, in order from top to bottom

    4. A picture that appears on the stage


    Think about how a recipe is followed: one step comes after another, in a fixed order.
  3. רב־ברירהמדעי המחשבwait blockprogram pausetiming

    The wait block

    A script contains the block 'wait 2 seconds' between two other blocks. What does this block do?

    1. It moves the sprite 2 steps

    2. It pauses the script for 2 seconds before the next block runs

    3. It repeats the script 2 times

    4. It deletes the sprite after 2 seconds


    The word 'wait' tells you what the block does to the timing of the script.
  4. רב־ברירהמדעי המחשבrepeat loopcounting repeatssprite movement

    Counting repeats

    A script has a 'repeat 4' block, and inside it is the block 'move 10 steps'. How many times in total does the sprite move 10 steps?

    1. 14

    2. 10

    3. 4

    4. 40


    The repeat block tells the computer how many times to run the blocks inside it.
  5. רב־ברירהמדעי המחשבsimple commandsprite commandsblock recognition

    Recognizing a simple command

    Which of the following is an example of a simple command that tells a sprite what to do?

    1. move 10 steps

    2. Sprite1

    3. stage backdrop

    4. 50


    A command is an instruction that tells the sprite to perform an action.
  6. רב־ברירהמדעי המחשבrepeat loopsprite pathturning

    Drawing a shape with a sequence

    A sprite runs this script: repeat 4 times, then move 50 steps and turn right 90 degrees. Which shape does the sprite draw with its path?

    1. a square

    2. a straight line

    3. a circle

    4. a triangle


    Count the sides the sprite draws and the size of each turn it makes at the corners.
  7. רב־ברירהמדעי המחשבשפות תכנותScratchkeyboard eventsevent blocks

    Keyboard event

    Which block should be used to start a script only when the space key is pressed?

    1. when space key pressed

    2. wait 1 second

    3. repeat until

    4. say Hello


    Choose the block that starts with 'when' and mentions a key on the keyboard.
  8. רב־ברירהמדעי המחשבturningsprite directionright angle

    Turning a sprite

    A sprite starts facing up. It then turns right 90 degrees, and then turns right 90 degrees again. Which direction is the sprite facing now?

    1. right

    2. down

    3. up

    4. left


    Each 90-degree right turn is a quarter of a full turn. Picture the sprite turning clockwise one step at a time.
  9. רב־ברירהמדעי המחשבexecution orderprogram ordersequence of blocks

    Why order matters

    Maya wants her sprite to first say 'Hi' and then move 10 steps. Why is it important to place the blocks in the correct order?

    1. Because the move block must always come first

    2. Because the blocks are run randomly by the computer

    3. Because the computer runs the blocks in the order they appear in the script

    4. Because the computer runs the blocks in alphabetical order


    Think about what happens to the sprite's actions if the same blocks are placed in a different order.
  10. רב־ברירהמדעי המחשבforever looprepeat blocksprogram control

    The forever block

    What does a 'forever' block do when it is used in a script?

    1. It runs the blocks inside it exactly once and then deletes them

    2. It moves the sprite forever in one direction

    3. It stops the program immediately

    4. It runs the blocks inside it again and again until the program is stopped


    The word 'forever' describes how long the repeating action keeps going.

פרטים

A quiz on giving step-by-step commands, sequences and simple loops for young learners.
קהל יעד
בית ספר יסודי · כיתות א׳–ג׳
רמת קושי
2 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

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