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

Repeating a movement

תצוגה מקדימה

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

Repeating a movement

A programmer wants a character to draw a square with four sides of equal length. Which approach uses a loop most sensibly?

  1. Repeat the steps 'move forward, turn right' four times

  2. Write 'stop' before the first move

  3. Write 'move forward' once and never turn

  4. Write 'turn left' one hundred times


A square has four identical sides and four identical corners, so count how many repeats are needed.

פרטים

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

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

תגובות

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