
TEST TIN
Quiz
•
Others
•
3rd Grade
•
Easy
Ngọc Diệp Lê Mai
Used 12+ times
FREE Resource
69 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Trong python lặp với số lần không biết trước với cú pháp nào sau đây là đúng?
while <điều kiện>: <khối lệnh>
while <khối lệnh>: <điều kiện>
for <i> in range(n): <khối lệnh lặp>
for <điều kiện1> : <khối lệnh1>
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Trong python <điều kiện> dừng của vòng lặp while là gì?
Khi <điều kiện> nhận giá trị đúng
Khi <điều kiện> nhận giá trị sai
Khi <điều kiện> nhận giá trị bất kỳ câu lệnh sẽ dừng
Khi <điều kiện> nhận giá trị bằng số lần lặp
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Sau khi thực hiện đoạn chương trình, kết quả in ra màn hình những số nào?
i=2
while i<15:
print(i,end= “ ”)
i=i+3
2 5 8 11 14
2581114
2 3 4 5 6 7 8 9 10 11 12 13 14
2 3 6 9 12 15
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Đoạn chương trình sau được thực hiện thì giá trị của s bằng bao nhiêu:
s=0
k=1
while k<20:
s=s+k
k=k+3
print(s)
Báo lỗi
70
91
69
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Cho danh sách b theo thứ tự gồm có 2 số thực, 1 số nguyên, 2 xâu kí tự. Cách tạo danh sách nào sau đây là đúng?
B= [<4.5, 5.4, -12, "A", "danh sách">]
B= [4.5, 5.4, -12, "A", "danh sách"]
b=[10, "Một", "Hai", 5.5, 9.0]
b=[10.5, 5.8, 3, "đúng","sai"]
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Cho biết kết quả sau khi thực hiện lệnh len ?
>>> A=[ 2 , "ba" , 4 , "năm" ]
>>> len(a)
14
4
3
Báo lỗi
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Đoạn chương trình sau được thực hiện thì giá trị của s bằng bao nhiêu:
s=0
i=1
while i<9:
s=s+i
i=i+2
print(s)
16
Báo lỗi
26
28
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?
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 Others
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
13 questions
Subject Verb Agreement
Quiz
•
3rd Grade
9 questions
Fact and Opinion
Quiz
•
3rd - 5th Grade
17 questions
Multiplication facts
Quiz
•
3rd Grade
20 questions
Irregular Plural Nouns
Quiz
•
3rd Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Subject and Predicate Review
Quiz
•
3rd Grade