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

Sequence of Commands with a Repeat

תצוגה מקדימה

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

Sequence of Commands with a Repeat

A robot must follow a path that goes forward 20 cm and then turns right 90 degrees, and this pattern must be done exactly 3 times to form a triangle-like route. Explain how a loop can be used to write this program instead of repeating the same instructions three times, and name the parts of the loop you would write.


Think about a construct that runs the same block of commands a set number of times, and what goes inside its body.

פרטים

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

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

תגובות

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