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

Basic Coding with Commands

שאלות 10

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

  1. רב־ברירהמדעי המחשבשפות תכנותblock ordersprite movementprogram sequence

    Order of blocks

    A character in a block-based program must walk to a star. Which order of blocks makes the character move forward, then turn, then move forward again?

    1. Turn right, Move forward, Move forward, Turn right

    2. Move forward, Turn right, Move forward

    3. Move forward, Move forward, Move forward, Move forward

    4. Turn right, Turn right, Turn right, Turn right


    Commands in a sequence run one after another from top to bottom, in the order you place them.
  2. רב־ברירהמדעי המחשבשפות תכנותrepeat blockscode reuseblock programming

    Purpose of a repeat block

    A programmer wants a sprite to draw the same square four times. Which block is the most useful for doing this without copying the same blocks again and again?

    1. A repeat block around the move and turn blocks

    2. A sound block

    3. A wait block placed at the end

    4. A variable block that stores the color red


    Think about a block that tells the computer to run a group of blocks a set number of times.
  3. רב־ברירהמדעי המחשבשפות תכנותrepeat loopsblock programmingcounting moves

    Repeat count

    The block below repeats the blocks inside it 5 times: repeat 5 times [move forward 10 steps]. How many times in total does the sprite move forward 10 steps?

    1. 5

    2. 10

    3. 50

    4. 3


    The repeat block tells the computer how many times to run the blocks placed inside it.
  4. רב־ברירהמדעי המחשבשפות תכנותblock ordersprite directionprogram sequence

    Sequence order matters

    Maya writes the blocks turn left, then move forward 100 steps. Her friend writes move forward 100 steps, then turn left. Why do the two programs often end in different places?

    1. Because move forward 100 steps always runs before the program starts

    2. Because block-based programs ignore the order of blocks

    3. Because turn left always moves the sprite forward

    4. Because the sprite changes direction before or after it moves, so the path is different


    Blocks run in order, so think about which direction the sprite faces when it moves.
  5. רב־ברירהמדעי המחשבשפות תכנותrepeat loopspolygon anglesturtle drawing

    Drawing a shape with a loop

    Which program draws a triangle with three equal sides, using a repeat block?

    1. Repeat 2 times: move forward 50 steps, turn 45 degrees

    2. Repeat 3 times: move forward 50 steps, turn 120 degrees

    3. Repeat 4 times: move forward 50 steps, turn 90 degrees

    4. Repeat 10 times: move forward 50 steps, turn 10 degrees


    A triangle has 3 sides, and the sprite must turn enough at each corner to face the next side.
  6. רב־ברירהמדעי המחשבrepeat loopsevent blocksreading scripts

    Reading a script

    A script contains these blocks in order: when green flag clicked, repeat 4 times [say Hello for 1 second]. What will the sprite do after the green flag is clicked?

    1. Say Hello once and stop

    2. Do nothing because repeat blocks cannot contain speech blocks

    3. Say Hello for 1 second four times

    4. Say Hello forever


    Look at the number inside the repeat block and what is placed inside it.
  7. רב־ברירהמדעי המחשבdebuggingrepeat loopssprite movement

    Fixing a mistake

    A student wants a sprite to move in a square, but the script only has one move block and one turn block with no repeat. What is the best change to make the sprite move in a full square?

    1. Delete the turn block

    2. Place the move and turn blocks inside a repeat 4 times block

    3. Add a sound block at the start

    4. Change the move block to a wait block


    A square has four sides, so the move and turn pattern must happen four times.
  8. נכון / לא נכוןמדעי המחשבblock orderprogram executionblock programming

    Order of blocks

    In a block-based program, the order of the blocks matters because the sprite carries out the blocks from top to bottom.

    1. True

    2. False


    Think about what happens when you read a script from the top block down to the bottom block.
  9. נכון / לא נכוןמדעי המחשבrepeat blockloopsblock programming

    Repeat block

    A repeat block lets you run the same group of blocks inside it several times without copying those blocks again.

    1. True

    2. False


    Consider why a programmer would use a special block instead of writing the same blocks over and over.
  10. נכון / לא נכוןמדעי המחשבblock sequencingspritesscript order

    Changing a sequence

    If a script first says Hello and then moves forward, the sprite will move forward first and only then say Hello.

    1. True

    2. False


    Remember that blocks run in the order they are placed, starting from the first one.

פרטים

Simple questions about sequences of commands, repeating actions and following the steps of a program for young learners.
קהל יעד
בית ספר יסודי · כיתות ב׳–ג׳
רמת קושי
3 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

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