
Câu hỏi về Câu lệnh for trong Python
Authored by memaybel Cc
Others
KG
148 Questions

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số công việc cần phải lặp với số lần xác định?
Đếm số học sinh của lớp.
Đếm số chia hết cho 5 trong đoạn từ 10 tới 100.
Đọc tên lần lượt từng học sinh của một lớp có 30 em.
Chạy 5 vòng sân bóng.
Tính tổng các số có 2 chữ số.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
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
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
Cho đoạn chương trình: 1 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.
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
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Others
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
20 questions
Disney Characters
Quiz
•
KG
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
10 questions
Christmas Characters
Quiz
•
KG - 3rd Grade
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Christmas Movies
Quiz
•
KG - 12th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
KG - 3rd Grade