
tin gk2
Quiz
•
Other
•
9th - 12th Grade
•
Hard
Xuân Kim
FREE Resource
43 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong NNLT Python, cấu trúc câu lệnh lặp nào sau đây đúng:
A. for <biến đếm> in range([giá trị đầu], <giá trị cuối>): <lệnh>
B. for <biến đếm> in ([giá trị đầu], <giá trị cuối>, [bước nhảy]): <lệnh>
C. for <biến đếm> in range(<giá trị đầu>… <giá trị cuối>, [bước nhảy]): <lệnh>
D. for <biến đếm> in range([giá trị đầu], <giá trị cuối>, [bước nhảy]): <lệnh>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Trong NNLT Python, câu lệnh nào sau đây đúng khi in ra màn hình các số tự nhiên từ 0..10 trên 1 dòng?
A. for i in range(9): print(i,end='')
B. for i in range(10): print(i,end='')
C. for i in range(11): print(i,end='')
D. for i in range(12): print(i,end='')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. Trong NNLT Python, câu lệnh nào sau đây sai khi in ra màn hình các số tự nhiên từ 0..10 trên 1 dòng?
A. for i in range(0,11,1): print(i,end='')
B. for i in range(11): print(i,end='')
C. for i in range(0,11): print(i,end='')
D. for i in range(11,1): print(i,end='')
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Trong NNLT Python, câu lệnh nào sau đây đúng khi in ra màn hình các số tự nhiên từ 10..0 trên 1 dòng?
A. for i in range(10,0,-1): print(i,end='')
B. for i in range(10,-1): print(i,end='')
C. for i in range(10,-1,-1): print(i,end='')
D. for i in range(10,1,-1): print(i,end='')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. Cho đoạn chương trình sau:
s=0
for i in range(5): s=s+i
Sau khi thực hiện, giá trị của s bằng bao nhiêu?
A. 5
B. 10
C. 0
D. 15
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Câu lệnh sau cho kết quả là gì?
for i in range(5): print(i,end='')
A. 1234
B. 12345
C. 01234
D. 012345
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Câu lệnh sau cho kết quả là gì?
for i in range(10):
if i%2==0: print(i,end='')
A. 02468
B. 13579
C. 2468
D. 246810
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
40 questions
La strada con l'altro Edizione verde - Test d'ingresso
Quiz
•
9th Grade
40 questions
SUMATIF AKHIR SEMESTER GENAP SISTEM NAVIGASI ELEKTRONIKA XI NKN
Quiz
•
11th Grade
39 questions
GEOGRAFIA - AZJA
Quiz
•
6th - 12th Grade
45 questions
Tin10.BT list
Quiz
•
10th Grade
45 questions
Kiến thức về hàm trong Python
Quiz
•
10th Grade
48 questions
SEC Unit 2 Media Literacy 2021 Quiz
Quiz
•
10th Grade
40 questions
Kiểm tra Ngữ Văn 12
Quiz
•
12th Grade
40 questions
Chapter 1 An Introduction to Environmental Science
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Cell Organelles
Quiz
•
9th Grade
20 questions
Cell Transport
Quiz
•
9th Grade