
tin gk2
Quiz
•
Other
•
9th - 12th Grade
•
Practice Problem
•
Hard
Xuân Kim
FREE Resource
Enhance your content in a minute
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
Already have an account?
Similar Resources on Wayground
40 questions
PAT BIOLOGI KELAS X TAHUN 2020
Quiz
•
10th Grade
40 questions
XI ALL BAHASA INDONESIA SENIN
Quiz
•
11th Grade
40 questions
VISUAL EFFECTS KELAS XI FILM
Quiz
•
11th Grade
40 questions
Informatika Kelas X (Ganjil)
Quiz
•
10th Grade
45 questions
Foods and nutrition 1-9-weeks Benchmark Test-Fall 2023
Quiz
•
9th - 12th Grade
40 questions
UM Akidah Akhlak 9
Quiz
•
9th Grade
42 questions
Q1-Research III Reviewer
Quiz
•
9th Grade
40 questions
đề minh họa 1
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
