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

Block Coding: Sequences and Loops

שאלות 10

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

  1. רב־ברירהמדעי המחשבאלגוריתםsequencesquare drawing

    Order of instructions

    A robot must draw a square. Which order of block commands will correctly make it draw one square with sides of equal length?

    1. Turn right, move forward, turn right, move forward

    2. Turn right, turn right, move forward, move forward, move forward, move forward, turn right, turn right

    3. Move forward, move forward, move forward, move forward, turn right

    4. Move forward, turn right, move forward, turn right, move forward, turn right, move forward, turn right


    A square has four equal sides and four corners. Think about what the robot does at each side.
  2. רב־ברירהמדעי המחשבsequenceblock orderexecution order

    Meaning of a sequence

    In block coding, what does it mean when blocks are placed in a sequence?

    1. The blocks are run all at the same time

    2. The blocks are run one after another, from top to bottom

    3. The blocks are run only from bottom to top

    4. The blocks are run in a random order


    Think about how you read a page of text in English.
  3. רב־ברירהמדעי המחשבrepeat blockloopscounting

    Repeat block

    A program has a repeat block set to 5 with the block 'clap' inside it. How many times will the character clap?

    1. 3

    2. 5

    3. 1

    4. 10


    The number on the repeat block tells you how many times the blocks inside it run.
  4. רב־ברירהמדעי המחשבloopsprogram efficiencycode readability

    Purpose of a loop

    Why do programmers use a loop block instead of copying the same block many times?

    1. To make the computer slower on purpose

    2. To stop the program from running

    3. To remove all the other blocks from the program

    4. To make the program shorter and easier to change


    Imagine you need to change how many steps a character takes in ten copied blocks versus one loop.
  5. רב־ברירהמדעי המחשבloopsrepeat blockcounting steps

    Loop result

    The blocks inside a loop set to repeat 4 times are: move forward 2 steps, turn right 90 degrees. What is the total number of forward steps taken?

    1. 8

    2. 4

    3. 2

    4. 6


    Each repeat moves forward 2 steps. Count how many repeats there are.
  6. רב־ברירהמדעי המחשבsequenceblock ordersprite

    Order matters

    A sprite must say 'Hello' and then jump. Which pair of blocks gives this result?

    1. Say Hello and Jump at exactly the same moment is always required

    2. Say Hello, then Jump

    3. Jump, then Jump, then Say Hello

    4. Jump, then Say Hello


    Blocks run in the order they are placed, so put the first action first.
  7. רב־ברירהמדעי המחשבevent blocksgreen flagprogram start

    Event start

    Which block is commonly used to start a program when the green flag is clicked?

    1. Forever

    2. Repeat 10

    3. When green flag clicked

    4. Move 10 steps


    Look for the block that starts with the word 'When' and names an event.
  8. רב־ברירהמדעי המחשבdebuggingloopsrepeat block

    Debugging a sequence

    A character should walk three steps forward, but it walks only once and stops. The loop block says 'repeat 1'. What should be changed?

    1. Add a turn block at the end

    2. Change the color of the character

    3. Change the repeat number to 3

    4. Delete the loop block completely


    Compare the number of steps you want with the number on the repeat block.
  9. רב־ברירהמדעי המחשבloopsblock programmingprogram flow

    Forever loop

    What does a 'forever' loop block do when it contains a move block?

    1. It moves once and then the program ends

    2. It moves only when the computer is turned off

    3. It moves exactly 100 times and then deletes itself

    4. It repeats the move block again and again until the program is stopped


    The word 'forever' describes how long the repeating goes on.
  10. רב־ברירהמדעי המחשבsequencingblock programmingalgorithms

    Designing a sequence

    You want a cat to walk to a ball, then wave. Which plan is in the correct order?

    1. Move to the ball and wave in a loop forever before anything else

    2. Wave, then move to the ball

    3. Wave ten times, then remove the ball

    4. Move to the ball, then wave


    Think about what the cat must do first to reach the ball, and what happens after.

פרטים

Basic programming ideas for young children: giving step-by-step instructions, sequences, and repeating actions with loops in a visual coding environment.
מקצועות
מדעי המחשב
קהל יעד
בית ספר יסודי · כיתות א׳–ג׳
רמת קושי
2 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

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