KT 15P _ TIN 10 -HK2
Quiz
•
Education
•
9th - 12th Grade
•
Hard
Doan Hoa
Used 10+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Biến chạy i trong vòng lặp
for i in range(n)
tăng lên mấy đơn vị sau mỗi lần lặp?
1
2
tuỳ theo giá trị n
không tăng
2.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Câu lệnh for sau đây thực hiện bao nhiêu lần?
>>>for i in range(10):
x = x + 1
9
10
1
x lần
Answer explanation
range (n): thực hiện n lần (0-> n-1)
vậy nên:
range(10): thực hiện 10 lần (0-9)
3.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Trong câu lệnh lặp:
>>> k=0
>>> for k in range(10):
k = k + 2
>>> print(k)
Khi kết thúc câu lệnh trên, câu lệnh print(k) được thực hiện bao nhiêu lần?
1
10
9
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Trong câu lệnh lặp:
>>> k=0
>>> for k in range(10):
k = k + 2
print(k)
Khi kết thúc câu lệnh trên, câu lệnh print(k) được thực hiện bao nhiêu lần?
1
10
9
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Cho đoạn chương trình:
>>> k = 0
>>> for k in range(2,5):
k = k + i
>>> print(k)
Vòng lặp for thực hiện bao nhiêu lần?
5
4
3
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Cho biết kết quả khi chạy đoạn chương trình sau:
>>> s = 0
>>> for i in range(3):
s = s+i
>>>print(s)
0
3
6
đáp án khác
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Cho biết kết quả khi chạy đoạn chương trình sau:
>>> s = 0
>>> for i in range(3):
s = s+ 2 *i
>>>print(s)
6
12
2
4
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
20 questions
Panimulang Pagsusulit
Quiz
•
11th Grade
20 questions
ÔN TẬP "CHUYỆN NGƯỜI CON GÁI NAM XƯƠNG"
Quiz
•
9th Grade
15 questions
LATIHAN SOAL 3 KUIS KI HAJAR SPENSANA
Quiz
•
7th - 9th Grade
19 questions
Tấm Cám
Quiz
•
10th Grade
20 questions
ÔN TẬP NGỮ VĂN 9
Quiz
•
9th Grade
20 questions
KUIS PALP Kelas XII Aset Lancar Satker
Quiz
•
12th Grade
17 questions
SQL-Parte 1
Quiz
•
12th Grade
20 questions
Kaufmann, Firma, HGB-Vollmachten, Handelsregister
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
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
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Education
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
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
7 questions
Combining & Revising Sentences- EOC English I Crunchtime
Quiz
•
9th - 10th Grade
