
tái cấu trúc cấu trúc cho trong Python
Authored by THPT Th��nh
Computers
11th Grade
Used 39+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết qủa của đoạn lệnh sau là gì?
x=sum(range(5))
print(x)
4
5
10
15
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Giá trị của a sau khi kết thúc vòng lặp là bao nhiêu:
a=0
for i in range(10,14): a=a+3
9
12
15
18
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Vòng lặp nào trả về kết quả dưới đây?
11111
22222
33333
44444
55555
for i in range(1,6):
print(i, i, i, i, i)
for i in range(1,5):
print(str(i)*5)
for i in range(1, 6):
print(str(i) * 5)
for i in range(0, 5):
print(str(i) * 5)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm range() để làm gì?
Tạo ra một dãy số liên tiếp, bắt đầu từ số 0
Tạo ra một dãy số liên tiếp, bắt đầu từ số 1
Dùng để sắp xếp một dãy số theo chiều tăng dần
Dùng để sắp xếp một dãy số theo chiều giảm dần
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp đầy đủ của hàm range()
range(start,stop,step)
range(start,step)
range(stop,step)
range(0,stop,step)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong hàm range, nếu không đặt khoảng cách giữa hai số thì Python sẽ hiểu mặc địch nó bằng:
1
0
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm range(101) sẽ tạo ra:
Một dãy số từ 0 đến 100
Một dãy số ngẫu nhiên 101
Một dãy số từ 1 đến 101
101 số ngẫu nhiê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
TỪ BÀI TOÁN ĐẾN CHƯƠNG TRÌNH
Quiz
•
11th Grade
10 questions
حاسب2 / اختبار الوحدة الثالثة
Quiz
•
10th - 12th Grade
15 questions
СОР_8 класс_раздел 1
Quiz
•
10th Grade - University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
10 questions
LOS SISTEMAS OPERATIVOS
Quiz
•
10th - 12th Grade
10 questions
OCR 1.5 Networks 1
Quiz
•
11th Grade
10 questions
IT Quiz
Quiz
•
11th - 12th Grade
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade