
ÔN TIN GK 2

Quiz
•
Mathematics
•
University
•
Medium
Le Nhung
Used 6+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu 1: Trong Python, cú pháp câu lệnh lặp nào sau đây đúng:
A. for bien_chay in range(m,n):<lệnh>
B. for bien_chay in(m,n):<lệnh>
C. for bien_chay in range(m…n):<lệnh>
D. for bien_chay in range(m,n) <lệnh>
2.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu 2. Trong Python, cú pháp câu lệnh lặp nào sau đây đúng:
A. while<điều kiện> in <lệnh>
B. while<điều kiện> <lệnh>
C. while<điều kiện>: <lệnh>
D. while<điều kiện>in range: <lệnh>
3.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu 3. Trong Python, cú pháp câu lệnh lặp nào sau đây đúng:
A. for dem in range(1,5) print(‘Hello’)
B. for dem in range(1;5): print(‘Hello’)
C. for dem in range(1…5): print(‘Hello’)
D. for dem in range(1,5): print(‘Hello’)
4.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu 4. Câu lệnh sau cho kết quả là gì?
for i in range(10):
if i%2==1: print(i,end='')
A. 02468
B. 13579
C. 246810
D. 1357
5.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu 5. Trong Python cho đoạn lệnh sau:
i=3
while i<=9:
print(i)
i=i+3
Chọn đáp án là kết quả hiển thị trên màn hình?
6.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu 6. Trong Python, cho lệnh sau: for i in range(10): print(2*i)
Chọn đáp án là kết quả hiển thị trên màn hình?
7.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Câu 7: Số lỗi có trong chương trình sau là:
A. 2
B. 3
C. 4
D. 5
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Đại hội

Quiz
•
University
10 questions
Sử dụng biến trong chương trình

Quiz
•
7th Grade - University
10 questions
NBT. 3a Compare Decimals

Quiz
•
KG - University
10 questions
ÔN TẬP TIN 11

Quiz
•
University
18 questions
TEST IQ

Quiz
•
10th Grade - University
20 questions
Algo Python

Quiz
•
University
20 questions
Solving Inequalities and Systems of Inequalities

Quiz
•
9th Grade - University
14 questions
Creating Equations and Inequalities

Quiz
•
9th Grade - University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade