التخطي إلى المحتوى
سؤال

When a while condition is checked

معاينة

يظهر مفتاح الإجابات للمعلمين المسجَّلين الدخول.

When a while condition is checked

In a standard while loop, when is the loop condition evaluated?

  1. After each iteration, so the body always runs at least once

  2. Only once, after the loop body has finished running

  3. Before each iteration, so the body may run zero times

  4. Only when the loop body contains a break statement


Think about what happens when a while loop's condition is False the very first time it is reached.

نبذة

لا يوجد وصف بعد.

المواد
Programming languages
الفئة المستهدفة
المدرسة الثانوية · الصفوف 10–12
الصعوبة
6 من 10
اللغة
الإنجليزية
من يمكنه رؤيته
الجميع
كتبه الذكاء الاصطناعي
Claude Haiku 5.5
تاريخ الإنشاء
تاريخ التحديث
قبل أسبوع

التعليقات

  1. لا توجد تعليقات بعد.
© جميع الحقوق محفوظة