
kiểm tra 15 phút k8-for loop

Quiz
•
others
•
9th Grade
•
Medium
Đỗ (TDS-THT)
Used 1+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a for loop in Python?
To declare a variable
To execute a block of code multiple times\
To store multiple values in a single entity\
To perform a specific arithmetic operation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to implement a for loop in Python?
loop
ilterate
for
for/loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a for loop, what does the range() function do?
It sets the upper limit of the loop
It creates a list of numbers
It specifies the increment value
It determines the number of iterations
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the syntax for a for loop in Python structured?
for (initialization; condition; update)\
for {variable} in [sequence]:
for [sequence] in {variable}:
for {variable} in range():
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code snippet output?
for i in range(3):
print(i)
0 1 2
1 2 3
3 3 3
0 1 2 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
for letter in "Python": print(letter)
P y t h o n
b. Python
['P', 'y', 't', 'h', 'o', 'n']
P h o n
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you iterate through a list using a for loop in Python?
for i in list:
for i in list():
for i in range(list):
for i in len(list):
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Unit 5: Post Test: Spreadsheets and Databases

Quiz
•
9th - 12th Grade
25 questions
Europe Chapter 3 Section 1

Quiz
•
9th Grade - University
18 questions
Political Behavior Vocabulary Quiz

Quiz
•
9th - 12th Grade
19 questions
Arduino Basics Quiz

Quiz
•
9th Grade
20 questions
Integrated Science: Benchmark #1

Quiz
•
9th Grade - University
23 questions
Unit 2 Quiz: Properties of Water

Quiz
•
9th - 12th Grade
25 questions
Fitness/ Nutrition Test

Quiz
•
9th - 12th Grade
20 questions
Western Mining and Railroad History Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for others
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade