
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
Cos’è la ROM?
Quiz
•
6th - 12th Grade
10 questions
Conosci Eoc-Desk?
Quiz
•
1st - 12th Grade
10 questions
PERFORMANCE TASK 3 |EMP Tech LC2
Quiz
•
11th Grade
15 questions
Computer Hardware CPUs and Motherboards
Quiz
•
9th - 12th Grade
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Bài 10-Thực hành khai thác tài nguyên trên Internet
Quiz
•
10th - 12th Grade
10 questions
Tin học 10 _ Bài 16 _Định dạng văn bản
Quiz
•
10th - 12th Grade
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN
Quiz
•
11th 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