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

Block Coding: Sequences and Algorithms

שאלות 10

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

  1. רב־ברירהמדעי המחשבשפות תכנותאלגוריתםstep-by-step instructionsproblem solvingcomputational thinkingdefinitions

    Meaning of an algorithm

    What is an algorithm in computer science?

    1. A step-by-step set of instructions to solve a problem

    2. A machine that prints paper

    3. A picture stored on a computer

    4. A type of computer keyboard


    Think about a recipe that tells you what to do one step at a time.
  2. רב־ברירהמדעי המחשבשפות תכנותblock orderexecution orderprogram flowsequencingblock coding

    Order of blocks

    In block-based coding, why does the order of blocks in a sequence matter?

    1. Because the computer runs the blocks in the order they are placed

    2. Because the order only affects how the blocks look

    3. Because blocks change color when moved

    4. Because blocks are sorted alphabetically by the computer


    Imagine putting on your shoes before or after your socks.
  3. רב־ברירהמדעי המחשבשפות תכנותsequencesrobot movementrepeat loopalgorithmsdrawing shapes

    Sequence of a robot

    A programmer wants a robot to draw a square. Which sequence of blocks is the best choice?

    1. Turn right, turn right, turn right, turn right only

    2. Move forward, turn right, repeat four times

    3. Move forward once and stop

    4. Turn left, move backward, change color


    A square has four sides and four corners, so count how many times the steps must repeat.
  4. רב־ברירהמדעי המחשבשפות תכנותrepeat looploopscode efficiencyiterationblock coding

    Repeat block

    What is the main purpose of a repeat block in block-based coding?

    1. To save the program to a printer

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

    3. To change the speed of the computer's screen

    4. To delete the program automatically


    Think about a way to avoid writing the same blocks again and again.
  5. רב־ברירהמדעי המחשבשפות תכנותevent blocksprogram startspritesblock programminggreen flag event

    Start event

    In a block-based program, what does a 'when green flag clicked' block do?

    1. It deletes the sprite from the screen

    2. It turns the screen green

    3. It starts the blocks under it when the program is run

    4. It stops all blocks forever


    The green flag is usually the signal to begin, like a race starting line.
  6. רב־ברירהמדעי המחשבשפות תכנותdebuggingblock orderspritesprogram errorssequences

    Debugging a sequence

    A sprite should wave hello and then say 'Hi', but it says 'Hi' first. What is the most likely problem?

    1. The sprite is too small

    2. The blocks are in the wrong order

    3. The computer has no speakers

    4. The background color is wrong


    Look at the sequence of blocks and check which one comes first.
  7. רב־ברירהמדעי המחשבתוכנהproblem solvingplanningblock coding

    Steps before coding

    Before building a block program, what is a good first step for a programmer?

    1. Turn off the computer

    2. Delete all the blocks in the workspace

    3. Choose the loudest sound effect

    4. Plan the steps needed to solve the problem


    A builder draws a plan before placing bricks.
  8. נכון / לא נכוןמדעי המחשבתוכנהsequential executionblock codingprogram order

    Following Steps

    In block-based coding, a program runs its blocks in the order they are placed, from top to bottom.

    1. True

    2. False


    Think about how you would read a list of instructions, one after another.
  9. נכון / לא נכוןמדעי המחשבתוכנהrepeat loopspritesblock coding

    Repeating Actions

    A repeat block can be used to make a sprite perform the same set of blocks several times without copying them again.

    1. True

    2. False


    Consider how a repeat block helps avoid writing the same blocks over and over.
  10. נכון / לא נכוןמדעי המחשבתוכנהalgorithmsblock codingfinite steps

    Algorithm Steps

    An algorithm must have a clear, finite set of steps so that it eventually finishes, and an algorithm can be written as a sequence of blocks in block-based coding.

    1. True

    2. False


    Think about what makes a set of instructions possible to follow from start to finish.

פרטים

A quiz on writing step-by-step instructions, sequences of commands, repeats and simple debugging with block-based coding.
קהל יעד
בית ספר יסודי · כיתות ג׳–ה׳
רמת קושי
2 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

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