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

Coding with Sequences

שאלות 10

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

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

    What is an algorithm?

    Which of the following best describes an algorithm?

    1. A password that protects a computer

    2. A part of the computer that you can touch

    3. A picture drawn on a computer screen

    4. A set of clear, step-by-step instructions for solving a problem


    Think about what a recipe or a list of directions does: it tells you what to do, one step at a time.
  2. רב־ברירהמדעי המחשב

    Why order matters

    Why is the order of the steps in an algorithm important?

    1. Computers only read the last step

    2. The order never affects anything

    3. Changing the order can change the result

    4. Steps can be done in any order without any problem


    Imagine following a recipe and mixing the ingredients in a different order. Would the cake always turn out the same?
  3. רב־ברירהמדעי המחשב

    Last step when brushing teeth

    Brushing your teeth can be described as a sequence of steps. Which step comes LAST?

    1. Rinse your mouth with water

    2. Brush your teeth

    3. Put toothpaste on the brush

    4. Open the toothpaste tube


    Think about what you do after you finish scrubbing your teeth.
  4. רב־ברירהמדעי המחשב

    Decision in an algorithm

    An algorithm says: "If it is raining, take an umbrella. Otherwise, wear a hat." What kind of instruction is "If it is raining"?

    1. A decision (a condition that is checked)

    2. A name for the program

    3. A repetition that runs many times

    4. The final output of the algorithm


    The word "If" tells you the computer must check something before choosing what to do next.
  5. רב־ברירהמדעי המחשב

    Counting steps in a repeat

    A robot follows this instruction: "Repeat 3 times: take 2 steps forward." How many steps forward does the robot take in total?

    1. 6

    2. 9

    3. 3

    4. 5


    Count how many steps are taken in each round, then multiply by the number of rounds.
  6. רב־ברירהמדעי המחשב

    Clear instructions

    Which of these is a clear, precise instruction that a computer can follow?

    1. Do the thing with the numbers

    2. Make the answer look nice

    3. Fix the problem somehow

    4. Add 2 and 3, then write the sum on the screen


    Look for the instruction that says exactly what to do, with no vague words like "thing" or "somehow".
  7. רב־ברירהמדעי המחשב

    Inputs of an algorithm

    A simple algorithm adds two numbers and shows the total. What are the inputs of this algorithm?

    1. The name of the program

    2. The steps written on paper

    3. The total shown on the screen

    4. The two numbers that are added


    Inputs are the information that goes into the algorithm before it starts working.
  8. רב־ברירהמדעי המחשב

    Following instructions in order

    A computer is given a list of instructions. In what order does it carry them out?

    1. In a random order chosen by the computer

    2. Only the line with the most words

    3. From the last line to the first line

    4. From the first line to the last line, one step at a time


    Think about how you read a list written on a page, and how a set of directions is usually followed.
  9. רב־ברירהמדעי המחשב

    Planting a seed

    Which order of steps correctly describes how to plant a seed?

    1. Put the seed in the hole, water it, cover with soil, dig a hole

    2. Dig a hole, put the seed in the hole, cover with soil, water it

    3. Water it, put the seed in the hole, dig a hole, cover with soil

    4. Cover with soil, water it, dig a hole, put the seed in the hole


    You must make the hole before you can place anything inside it, and you water the seed after it is covered.
  10. רב־ברירהמדעי המחשב

    Path of a robot

    A robot repeats this sequence four times: move forward 1 step, turn right. What shape does its path make?

    1. A straight line

    2. A circle

    3. A square

    4. A triangle


    After each forward move, the robot turns right. Count how many sides the path has and how the turns change the direction.

פרטים

Understanding step-by-step instructions, sequences and simple loops, through questions on everyday algorithms.
מקצועות
מדעי המחשב
קהל יעד
בית ספר יסודי · כיתות א׳–ב׳
רמת קושי
2 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
נוצר באמצעות AI
Claude Haiku 5.5
נוצר

תגובות

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