
الجمل التكرارية في بايثون
Authored by MOHAMED MOHAMED ALI ALSABBARI
Others
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هي الحلقات التكرارية في بايثون؟
الحلقة التكرارية 'repeat-until'
الحلقة التكرارية 'do-while'
الحلقة التكرارية 'foreach'
الحلقات التكرارية في بايثون هي 'for' و 'while'.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
اذكر نوعين من الحلقات التكرارية في بايثون.
for, while
repeat until
do while
foreach
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
كيف يمكن استخدام الحلقة for لتكرار العناصر في قائمة؟
استخدم 'for item in list:' لتكرار العناصر في القائمة.
استخدم 'repeat item in list:' لتكرار العناصر في القائمة.
استخدم 'while item in list:' لتكرار العناصر في القائمة.
استخدم 'for list in item:' لتكرار العناصر في القائمة.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هو الناتج المتوقع من الكود التالي: for i in range(5): print(i)؟
10
0 1 2 3 4
5
-1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
كيف يمكن تكرار القوائم باستخدام الحلقة for؟
for item in my_list: display(item)
for item in my_list: print(item())
for item in my_list: print(item)
for item in my_list: item.print()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ما هي الطريقة الصحيحة لتكرار القاموس في بايثون؟
استخدم 'for value in my_dict.values():' لتكرار القاموس.
استخدم 'for key in my_dict:' لتكرار القاموس.
استخدم 'for key, value in my_dict.items():' لتكرار القاموس.
استخدم 'for item in my_dict:' لتكرار القاموس.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
اذكر مثالاً على استخدام الحلقة for لتكرار القاموس.
for item in my_dict: print(item)
for key in my_dict.values(): print(key)
for value in my_dict.keys(): print(value)
for key, value in my_dict.items(): print(key, value)
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?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Others
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade