Bài 20: Câu lệnh lặp For
Quiz
•
Mathematics
•
11th Grade
•
Practice Problem
•
Hard
Do Hong
Used 8+ times
FREE Resource
Enhance your content in a minute
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
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
LỚP 5_BÀI KIỂM TRA ĐỊNH KỲ THÁNG 2
Quiz
•
1st - 11th Grade
13 questions
Squid game
Quiz
•
11th Grade
12 questions
Crash Bandicoot Quiz
Quiz
•
5th Grade - University
12 questions
OIM 2020 NIVEL AVANZADO: PRUEBA CLASIFICATORIA
Quiz
•
10th - 11th Grade
11 questions
Poměr
Quiz
•
6th - 12th Grade
20 questions
Wielomiany
Quiz
•
1st - 12th Grade
18 questions
Latihan PSAS Matematika X Semester 1
Quiz
•
10th Grade - University
10 questions
7.4 Cross product
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Mathematics
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
13 questions
Reading And Writing Numerical Expression
Quiz
•
6th - 12th Grade
56 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
17 questions
Triangle Congruence Theorems
Quiz
•
9th - 11th Grade
15 questions
Analyze Triangle Congruence Conditions
Quiz
•
9th - 12th Grade
