Python Quiz (Loops)
Quiz
•
Computers
•
KG - 6th Grade
•
Medium
Jerry Xiao
Used 43+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
True or False: Reducing the duplication of code is one of the advantages of using a loop structure.
True
False
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
True or False: The output of the following code is “cat”
pets = ["cat", "dog"]
print(pets[0][0])
True
False
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
True or False: The output of these two loops is the same
for num in range(4):ㅤㅤ
print(num)
for num in range(1, 5):ㅤㅤ
print(num)
True
False
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What’s the output of the following code
for num in range(2, 9, 2): ㅤ
print(num)ㅤ
2 4 6 8
2 5 8
1 3 5 7 9
2 3 4 5 6 7 8 9
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
When will the following loop terminate?
while keep_on_going != 999:
When keep_on_going is greater than 999
When keep_on_going is not equal to 999
When keep_on_going is equal to 999
When keep_on_going is less than 999
Similar Resources on Wayground
10 questions
Mini 2 (5junio)
Quiz
•
University
10 questions
Computer
Quiz
•
4th Grade
8 questions
Role Of Computers
Quiz
•
1st - 2nd Grade
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
10 questions
COMPUTER REVIEW
Quiz
•
1st Grade
10 questions
Graphics and Text
Quiz
•
3rd - 4th Grade
10 questions
break цикілі
Quiz
•
8th Grade
10 questions
Evaluación Primer Trimestre 3
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
19 questions
Halloween Trivia
Lesson
•
3rd - 5th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
Email your Teacher
Quiz
•
6th - 8th Grade
10 questions
Halloween 2nd Grade
Quiz
•
2nd - 3rd Grade
20 questions
logo quiz
Quiz
•
3rd Grade
40 questions
Programming with Karel
Quiz
•
6th - 8th Grade
20 questions
Binary Numbers Quiz
Quiz
•
6th - 8th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
