
اختبار حول جمل بايثون الشرطية
Authored by Imed Imed
Computers
10th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هي الصيغة العامة لجملة if في بايثون؟
if statement then condition
if condition: statement
if condition then statement
if statement: condition
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هي الجملة التي تستخدم لتحديد حالة بديلة في بايثون؟
if statement
if condition
if else
if only
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هو الغرض من استخدام جملة elif في بايثون؟
لتحديد شرط واحد فقط
لتحديد عدة شروط
لتجاهل الشروط
لإنهاء البرنامج
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هي النتيجة المتوقعة من الكود التالي: x=15 if x<20: print('x is lower than 20')؟
x is lower than 20
x is greater than 20
x is equal to 20
لا شيء سيظهر
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هي المعاملات المنطقية المستخدمة في بايثون؟
AND, OR, NOT
OR, NOT, NAND
AND, OR, XOR
AND, NOR, NOT
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ماذا يحدث إذا كان أحد الجانبين في المعاملة المنطقية AND غير صحيح؟
تكون النتيجة صحيحة
تكون النتيجة خاطئة
تظهر رسالة خطأ
يتم تجاهل الجملة
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
: ما هي النتيجة المتوقعة من الكود التالي
لا شيء سيظهر
x is zero
x is a negative number
x is a positive number
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?