Bài 20: Câu lệnh lặp For

Quiz
•
Mathematics
•
11th Grade
•
Medium
Do Hong
Used 7+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số công việc cần phải lặp với số lần xác định?
1) Đếm số học sinh của lớp.
2) Đếm số chia hết cho 5 trong đoạn từ 10 tới 100.
3) Đọc tên lần lượt từng học sinh của một lớp có 30 em.
4) Chạy 5 vòng sân bóng.
5) Tính tổng các số có 2 chữ số.
3
4
5
2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến chạy trong vòng lặp for i in range(
1
2
0
Tất cả đều sai
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho các câu lệnh sau, hãy chỉ ra câu lệnh đúng:
x = 0
for i in range(10): x = x + 1
x = 0
for i in range(10): x:= x + 1
x = 0
for i in range(10) x = x + 1
x:= 0
for i in range(10): x = x + 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, câu lệnh nào dưới đây được viết đúng?
for i in range(10): prin("A")
for i in range(10): print("A")
for i in range(10): print(A)
for i in range(10) print("A")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong câu lệnh lặp:
j=0
for j in range(10):
j = j + 2
print(j)
Khi kết thúc câu lệnh trên, câu lệnh print(j) được thực hiện bao nhiêu lần?
10 lần
1 lần
5 lần
Không thực hiện
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong câu lệnh lặp:
j = 0
for j in range(10):
print("A")
Khi kết thúc câu lệnh trên lệnh có bao nhiêu chữ "A" xuất hiện?
10 lần
1 lần
5 lần
Không thực hiện
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình:
j = 0
for i in range(5):
j = j + i print(j)
Sau khi thực hiện chương trình giá trị của biến j bằng bao nhiêu?
10
12
15
14
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Triangle Inequalities

Quiz
•
9th - 12th Grade
20 questions
PAM Matematika kelas Xl

Quiz
•
11th Grade
10 questions
U5p11: Applications of Exponential Functions

Quiz
•
9th - 12th Grade
20 questions
Relations Functions Domain and Range Practice

Quiz
•
10th - 12th Grade
18 questions
Mean, Median, Mode and Range

Quiz
•
8th - 11th Grade
14 questions
Domain and Range Interval Notation Including Not Continuous

Quiz
•
9th Grade - University
15 questions
Key Features of quadratic functions

Quiz
•
9th - 12th Grade
10 questions
Sử dụng biến trong chương trình

Quiz
•
7th Grade - University
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 Mathematics
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
20 questions
Points, Lines & Planes

Quiz
•
9th - 11th Grade
15 questions
Solving Multistep Equations

Quiz
•
9th - 12th Grade
10 questions
Bias or Unbiased Questions

Quiz
•
9th - 12th Grade
12 questions
Rational and Irrational Numbers

Lesson
•
8th - 12th Grade
58 questions
Integer Operations

Quiz
•
5th - 12th Grade
30 questions
Identifying Key Features of Parabolas

Quiz
•
9th - 12th Grade
14 questions
Function Notation Practice

Quiz
•
9th - 11th Grade