
ÔN TIN GK 2
Authored by Le Nhung
Mathematics
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
13 questions
Rounding Money to the Nearest Cent
Quiz
•
6th Grade - University
10 questions
Prueba sumativa de 2do para el P2
Quiz
•
2nd Grade - University
15 questions
Aritmética-NUMEROS COMPLEJOS 2024
Quiz
•
University
15 questions
Repaso de matrices - Algebra Lineal
Quiz
•
University
15 questions
Exponential Functions and Sequences Review
Quiz
•
9th Grade - University
15 questions
I-Ready Math Unit 4 Fractions
Quiz
•
5th Grade - University
15 questions
Classifying Angles and Angle Relationships
Quiz
•
10th Grade - University
15 questions
Linear Inequalities Solution Set
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade