
BÀI 8 CÂU LỆNH LẶP
Authored by chi ngo
Information Technology (IT)
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh lặp dùng để làm gì?
Cho chương trình dừng lại
Cho chương trình thực hiện một công việc nhiều lần
Gán giá trị cho biến
In ra màn hình
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh for trong Python thường dùng khi:
Biết trước số lần lặp
Không biết số lần lặp
Cần kiểm tra điều kiện logic
Lặp vô hạn
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp đúng của câu lệnh for trong Python là:
for i = 1 to 10:
for i -> 10:
for (i=1; i<=10; i++):
for i in range(1, 11):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm range(2, 7) tạo ra dãy số nào?
2, 3, 4, 5, 6
2, 3, 4, 5, 6, 7
1, 2, 3, 4, 5, 6, 7
3, 4, 5, 6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh while dừng lại khi:
Điều kiện trong while còn đúng
Điều kiện trong while sai
Không có biến đếm
Khi nhấn phím Enter
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thoát vòng lặp trước khi điều kiện sai, ta dùng câu lệnh:
exit
continue
break
stop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh continue trong Python có tác dụng:
Kết thúc vòng lặp
Quay lại đầu chương trình
Ngừng chương trình
Bỏ qua phần còn lại của lần lặp hiện tại và sang lần tiếp theo
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
23 questions
TSI Math Vocabulary
Quiz
•
10th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
10 questions
Plotting Points on a Coordinate Plane: Quadrant 1 Essentials
Interactive video
•
6th - 10th Grade
10 questions
Exploring Abiotic and Biotic Factors in Ecosystems
Interactive video
•
6th - 10th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade