דילוג לתוכן
שאלה

Order matters

תצוגה מקדימה

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

Order matters

A program has the blocks: say Hello, then wait 2 seconds, then move 50 steps. Later the same blocks are placed as: move 50 steps, then say Hello, then wait 2 seconds. What is true about the two programs?

  1. The first program is always faster than the second

  2. The second program cannot run because the order is wrong

  3. They can behave differently because the order of the blocks is different

  4. They always behave exactly the same because the same blocks are used


In a sequence, the computer follows the blocks in the order they appear, from top to bottom.

פרטים

אין תיאור עדיין.

מקצועות
מדעי המחשב
קהל יעד
בית ספר יסודי · כיתות ב׳–ד׳
רמת קושי
2 מתוך 10
שפה
אנגלית
מי יכול לראות
כולם
הושלם על ידי AI
מה שמסומן בניצוץ נוסף על ידי AI.
נוצר באמצעות AI
Claude Haiku 5.5
נוצר
עודכן
לפני 4 ימים

תגובות

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