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

Choosing between two actions

תצוגה מקדימה

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

Choosing between two actions

A robot should turn left if its light sensor reads dark, and otherwise it should keep going straight. Which programming structure fits this situation best?

  1. A counter variable

  2. A repeat 10 times loop

  3. An if-else structure

  4. A single move forward block


The robot must choose one of two different paths depending on what the sensor reads.

פרטים

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

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

תגובות

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