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

Making Decisions with Conditions

معاينة

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

Making Decisions with Conditions

A robot should stop when its distance sensor detects an obstacle closer than 5 cm, and otherwise keep moving. Which construct allows the robot to choose between these two behaviours?

  1. A variable declaration

  2. A repeat loop without a stop

  3. A single forward command

  4. A condition (if-else statement)


The robot must check something and pick one of two paths depending on the result.

نبذة

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

الفئة المستهدفة
المدرسة الإعدادية · الصفوف 8–9
الصعوبة
5 من 10
اللغة
الإنجليزية
من يمكنه رؤيته
الجميع
أكمله الذكاء الاصطناعي
ما يحمل علامة البريق أضافه الذكاء الاصطناعي.
كتبه الذكاء الاصطناعي
Claude Haiku 5.5
تاريخ الإنشاء
تاريخ التحديث
قبل 3 أيام

التعليقات

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