Coding Basics: Step by Step
שאלות 10
מפתח התשובות מוצג למורים מחוברים.
-
Meaning of a sequence
In coding, what is a sequence of commands?
A set of instructions that are carried out one after another in order
A single instruction that runs many times without stopping
A picture that is drawn on the screen by the user
A list of words that the computer will never read
Think about what the word 'sequence' means in everyday life, like steps in a recipe. -
-
Simple instruction
What is a simple instruction in a program, such as 'move forward 10 steps'?
A long story that explains why the program was written
A mistake that stops the program from running
A name given to the programmer
A single command that tells the computer or robot exactly one action to perform
Consider how much one command tells the computer to do at a time. -
Following a sequence
A turtle starts facing up. The commands are: move forward 2, turn right, move forward 2. Where does the turtle end up compared to where it started?
It is 4 steps straight up from its start
It is 2 steps up and 2 steps to the right of its start
It is back at its starting point
It does not move at all
Draw the path step by step, one command at a time, on paper. -
Why order matters
Two programs use the same commands: Program A is 'wash the dish, then dry the dish'. Program B is 'dry the dish, then wash the dish'. Why do the programs give different results?
Because the computer changes the commands by itself
Because one program is shorter than the other
Because the order of the commands is different
Because the commands use different words for the same action
Compare which action comes first in each program. -
-
Writing steps for a task
You want a robot to draw a square. Which set of commands, in the correct order, draws a square?
Move forward, turn right, move forward, turn right, move forward, turn right, move forward, turn right
Turn right, turn right, turn right, turn right, move forward
Move forward, turn left, turn left, move forward
Move forward, move forward, move forward, move forward
A square has four equal sides and four corners, so think about repeating one move and one turn. -
-
-
פרטים
- מקצועות
- שפות תכנות
- תגיות
- נוסף על ידי AI sequence of commands נוסף על ידי AI simple instructions נוסף על ידי AI order of execution
- קהל יעד
- בית ספר יסודי · כיתות א׳–ג׳
- רמת קושי
- 2 מתוך 10
- שפה
- אנגלית
- מי יכול לראות
- כולם
- הושלם על ידי AI
- מה שמסומן בניצוץ נוסף על ידי AI.
- נוצר באמצעות AI
- Claude Haiku 5.5
- נוצר
תגובות