Vòng lặp nào trong Python sử dụng cho việc lặp lại một chuỗi các giá trị?
Which loop in Python is used for iterating over a sequence of values?
Loop & def Python
Quiz
•
Instructional Technology
•
6th - 8th Grade
•
Medium
Nguyễn HN)
Used 7+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp nào trong Python sử dụng cho việc lặp lại một chuỗi các giá trị?
Which loop in Python is used for iterating over a sequence of values?
for
while
do-while
repeat-until
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để dừng vòng lặp ngay lập tức trong Python?
break
continue
pass
exit
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh continue trong vòng lặp for dùng để làm gì?
What is the continue statement used for in a for loop?
Thoát khỏi vòng lặp
Break out of the loop
Bỏ qua phần còn lại của vòng lặp và bắt đầu lặp tiếp theo
Skip the rest of the loop and start the next iteration
Tạo vòng lặp vô hạn
Create infinite loop
Tiếp tục vòng lặp hiện tại mà không thay đổi gì
Continue the current loop without changing anything
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
0 1 2 3 4
0 1 2
0 1 2 3
0 1 2 3 4 5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
What is the result of the following code?
0
3
4
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
What is the result of the following code?
1 3 5 7 9
2 4 6 8 10
1 2 3 4 5 6 7 8 9
1 2 3 4 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Vòng lặp nào dưới đây có thể gây ra vòng lặp vô hạn nếu điều kiện không đúng cách?
Which of the following loops can cause an infinite loop if the condition is not correct?
for
while
for & while
None
20 questions
Tin học 5-Ôn tập HK2 (24-25)
Quiz
•
5th Grade - University
21 questions
Coding Quiz Practice
Quiz
•
6th - 8th Grade
20 questions
TIN 8 GIỮA HK 2
Quiz
•
1st - 12th Grade
22 questions
Quiz de Arduino Teen/OBR
Quiz
•
6th - 8th Grade
20 questions
Python-ICT
Quiz
•
8th Grade
27 questions
Arduino UNO
Quiz
•
6th - 8th Grade
25 questions
TIN 8 HK 2
Quiz
•
1st - 12th Grade
30 questions
Codesters - Concept Review
Quiz
•
7th - 8th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
12 questions
Dividing Fractions
Quiz
•
6th Grade
9 questions
1. Types of Energy
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
3rd - 6th Grade
43 questions
LinkIt Test - 24-25_BM4_7th
Quiz
•
7th Grade
6 questions
Final Exam: Monster Waves
Quiz
•
6th Grade