Python Loop Quiz

Quiz
•
Mathematics
•
11th Grade
•
Medium
Standards-aligned
Nhung Nguyễn
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python có mấy loại cấu trúc lặp?
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
range(5,9) trả lại vùng giá trị là các số nguyên nào?
rỗng
5, 6, 7, 8, 9
5, 6, 7, 8
6, 7, 8, 9
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
range(n) trả lại vùng giá trị là các số nguyên nào?
1, 2, 3 …, n
0, 1, 2, …, n-1
1, 2, 3 …, n-1
0, 1, 2, …, n
Tags
CCSS.5.NBT.A.2
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Xác định số vòng lặp cho bài toán: Tính tổng các số nguyên từ 1 đến 100.
1
98
99
100
5.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
Cho đoạn chương trình sau:
for i in range(6): print(i)
Trong đoạn chương trình trên câu lệnh lặp được thực hiện bao nhiêu lần?
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho đoạn chương trình sau:
sum=0
for i in range(1,5):
sum=sum+i
print(sum)
Sau khi thực hiện đoạn chương trình trên thì kết quả in ra màn hình là:
10
15
0
12
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn chương trình sau: d=0 for i in range(1,10): if i%2==0: d=d+1 print(d) Sau khi thực hiện đoạn chương trình trên thì kết quả in ra màn hình là:
4
5
6
9
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Ôn Tập M4

Quiz
•
KG - Professional Dev...
8 questions
BÀI TẬP: HÀM SỐ LIÊN TỤC

Quiz
•
11th Grade
7 questions
Ai nhanh ai đúng?

Quiz
•
5th Grade - University
15 questions
KIỂM TRA THƯỜNG XUYÊN

Quiz
•
11th Grade
7 questions
HÀM SỐ LIÊN TỤC

Quiz
•
11th Grade
10 questions
BT giới hạn + hàm liên tục

Quiz
•
11th Grade
5 questions
BT tiếng Việt

Quiz
•
1st Grade - University
10 questions
Chu trình Hamilton

Quiz
•
11th Grade - University
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
Discover more resources for Mathematics
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
17 questions
Analyze Real-World Inequalities and Graphs

Quiz
•
9th - 12th Grade
20 questions
Integer Operations

Quiz
•
6th - 12th Grade
18 questions
Solve Absolute Value Inequalities

Lesson
•
9th - 11th Grade
15 questions
Exterior Angle Theorem

Quiz
•
9th - 12th Grade
20 questions
Solving Absolute Value Equations

Quiz
•
11th - 12th Grade
9 questions
Proving lines are parallel using angles

Quiz
•
9th - 11th Grade