
Câu hỏi về vòng lặp trong Python
Authored by Cầm Nguyễn
Computers
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE SELECT 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.
3
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
7.
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.
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
10 questions
Ứng xử trong môi trường số
Quiz
•
10th Grade
15 questions
Network Advantages and Disadvantages
Quiz
•
10th Grade - University
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
Bài 8- CĐ F-TH10
Quiz
•
9th - 12th Grade
16 questions
J808 LO6.2 Tools to present information
Quiz
•
10th - 11th Grade
10 questions
TIN HỌC 10 - BÀI 7
Quiz
•
10th Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
13 questions
Arrays in Swift
Quiz
•
10th - 12th Grade
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 Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade