مراجعة عامة على المنهج – الجزء الأول
Quiz
•
Computers
•
10th Grade
•
Hard
Mohamed Farouk
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for a for loop in Python?
for i in range(iterable):
for item from iterable:
for item in range(iterable):
for item in iterable:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the '==' operator do in Python?
Checks for equality between two objects or values
Performs addition between two values
Compares the memory addresses of two objects
Checks if two objects are of the same type
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you print multiple outputs in Python using the print statement?
print('Output 2')
print('Output 1')
print('Output 1', 'Output 2', 'Output 3')
print('Output 3')
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you loop through a list in Python?
for item in range(my_list):
while item in my_list:
for i in range(len(my_list)):
for item in my_list:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is used to store multiple items in a single variable in Python?
set
tuple
dictionary
list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you iterate over a list using a for loop in Python?
for element in my_list:
for i in range(len(my_list)):
for index, value in enumerate(my_list):
for item in my_list:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the comparison '5 > 3' in Python?
False
5 == 3
True
3 > 5
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
AQA GCSE Computer Science Paper 1
Quiz
•
9th - 11th Grade
20 questions
Python Programming Quiz
Quiz
•
9th Grade - University
15 questions
Python_Exam
Quiz
•
6th - 10th Grade
22 questions
Python Data Types Quiz
Quiz
•
10th Grade
21 questions
Python-Checkpoint revision
Quiz
•
9th - 12th Grade
15 questions
Uvod u algoritme i programiranje
Quiz
•
9th - 12th Grade
20 questions
Python Quiz 1
Quiz
•
9th - 12th Grade
15 questions
list in python
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade