
BÀI 8 CÂU LỆNH LẶP
Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
chi ngo
Used 1+ times
FREE Resource
Enhance your content
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
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
Tin học 10: Ôn tập trắc nghiệm Cuối kì 1 năm học 2024-2025
Quiz
•
10th Grade
19 questions
Ôn tập HKI Tin học - Khối 5
Quiz
•
5th Grade - University
15 questions
Bài 29
Quiz
•
10th Grade - University
20 questions
Câu lệnh lặp trong lập trình
Quiz
•
10th Grade
20 questions
Kiến thức Tin học 10
Quiz
•
10th Grade
20 questions
Kiểm tra HKI 10
Quiz
•
10th Grade
20 questions
Kiến thức về Excel
Quiz
•
10th Grade
15 questions
Kiểm Tra Kiến Thức Công Nghệ Thông Tin
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
17 questions
Afro Latinos: Una Historia Breve Examen
Quiz
•
9th - 12th Grade
17 questions
Hispanic Heritage Month Trivia
Quiz
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade