
Câu hỏi về lập trình Python
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
Lê Thư
Used 7+ times
FREE Resource
Enhance your content in a minute
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. 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
Câu 2. 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
Câu 3. 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
Câu 4. 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
Câu 5. 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
Câu 6. 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
Câu 7. 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
60 questions
DK ASTS 2526
Quiz
•
10th Grade
63 questions
AQA Computer Science GCSE - 3.4 Computer systems
Quiz
•
10th - 12th Grade
60 questions
Microsoft Word/Powerpoint M1:L1-6
Quiz
•
9th - 12th Grade
60 questions
Output devices and their uses
Quiz
•
9th - 11th Grade
64 questions
Cuestionario IA 10mo (I Trimestre)
Quiz
•
10th Grade
57 questions
Komputer Dasar
Quiz
•
10th Grade
61 questions
M1:U1 - Final Test - IT Fund+
Quiz
•
9th - 12th Grade
56 questions
Word Modules 1 and 2
Quiz
•
9th - 12th 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
