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

Nested loops

תצוגה מקדימה

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

Nested loops

A robot program has an outer loop that repeats 3 times. Inside it, an inner loop repeats 2 times, and the inner loop body is 'blink the light'. How many times is 'blink the light' executed in total?

  1. 5

  2. 9

  3. 12

  4. 6


For each repetition of the outer loop, the inner loop runs completely. Multiply the two repeat counts.

פרטים

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

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

תגובות

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