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

Coding Basics with Blocks

שאלות 10

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

  1. רב־ברירהמדעי המחשבblock codingsequencescommandsconditionsvariables

    What is a sequence

    In block coding, what do we call a set of commands that run one after another in a specific order?

    1. A condition

    2. A comment

    3. A sequence

    4. A variable


    Think about the order in which blocks are placed one under another in a program.
  2. רב־ברירהמדעי המחשבblock codingcommandsloopsspritesprogram actions

    Command block purpose

    Which of the following best describes what a command block does in a block coding program?

    1. It writes a note that is ignored by the program

    2. It stores a number for later use

    3. It tells the character or computer to perform one specific action

    4. It repeats the whole program forever


    A command is an instruction that makes something happen, such as moving or jumping.
  3. רב־ברירהמדעי המחשבsequencesorder of executionblock coding

    Order matters

    A programmer puts the blocks 'move forward' and 'turn right' in a sequence. Why does the order of these blocks matter?

    1. Because the computer only runs the last block

    2. Because the order does not matter at all in any program

    3. Because the blocks change their colour when moved

    4. Because the computer runs the blocks in the order they are placed, so the result can change


    Imagine walking forward then turning versus turning then walking forward.
  4. רב־ברירהמדעי המחשבrepeat blockloopsblock coding

    Repeat loop meaning

    What is the main purpose of a repeat block (a simple loop) in block coding?

    1. To run the same blocks inside it several times without copying them

    2. To delete all other blocks in the program

    3. To pause the program until the user clicks

    4. To change the name of a sprite


    Think about how you would avoid writing the same move block ten times in a row.
  5. רב־ברירהמדעי המחשבloop countrepetitionblock coding

    Loop count

    A program has a loop block set to repeat 4 times containing the block 'move 10 steps'. How many times in total is the 'move 10 steps' block run?

    1. 4

    2. 40

    3. 10

    4. 14


    The loop number tells you how many times the blocks inside it are repeated.
  6. רב־ברירהמדעי המחשבturtle graphicsturningsequences

    Sequence of a square

    To draw a square with a turtle, a student uses four times the sequence 'move 50 steps' then 'turn right 90 degrees'. Why is the turn needed between the moves?

    1. It makes the turtle smaller after each side

    2. It saves the drawing to a file

    3. It is not needed and can be removed without any change

    4. It changes the direction so that each side of the shape is drawn at a right angle


    A square has corners that are right angles, so think about what the turn does to the direction of movement.
  7. רב־ברירהמדעי המחשבloopsefficiencydrawing shapes

    Loop replacing repeated blocks

    Which set of blocks is a shorter way to draw a square using a loop instead of writing four move and turn pairs?

    1. Repeat 4 times: turn right 90 degrees only

    2. Repeat 90 times: move 50 steps, turn right 4 degrees

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

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


    A square has four sides, and each side needs one move and one turn.
  8. רב־ברירהמדעי המחשבdebuggingblock ordersequences

    Debugging a sequence

    A student wants a sprite to say 'Hello' and then walk 5 steps, but the sprite walks first and then says 'Hello'. What is the best way to fix the program?

    1. Change the sprite's colour to fix the order

    2. Swap the order of the two blocks so the say block comes first

    3. Delete the walk block and keep only the say block

    4. Add a repeat block around the whole program


    The computer runs blocks from top to bottom, so check which block sits higher in the sequence.
  9. רב־ברירהמדעי המחשבforever looprepetitionblock coding

    Forever loop

    What does a 'forever' loop block do when it is placed around a set of movement blocks?

    1. It keeps repeating the blocks inside it until the program is stopped

    2. It deletes the blocks after they run

    3. It runs the blocks exactly 100 times

    4. It runs the blocks only once and then ends


    The word forever in the name tells you how long the loop continues.
  10. רב־ברירהמדעי המחשבloopsrepeat blocksequences

    Pattern with loops

    A student wants a sprite to blink on and off five times. Which approach uses a simple loop correctly?

    1. Place the show block and hide block inside a repeat 5 block

    2. Place a repeat 1 block around the show block only

    3. Write show and hide once and add a comment saying five times

    4. Use a colour block five times without any loop


    The blinking action is a pair of commands, and you want that pair to run a set number of times.

פרטים

Questions on sequences, loops and simple commands in block-based coding for young children.
מקצועות
מדעי המחשב
קהל יעד
בית ספר יסודי · כיתות א׳–ב׳
רמת קושי
2 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

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