Ôn tập Python (for, if)
Quiz
•
Computers
•
10th Grade
•
Hard
Cường Trần
Used 45+ times
FREE Resource
Enhance your content
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Phát biểu nào sau đây là sai khi nói về biểu thức lôgic?
Biểu thức lôgic là biểu thức chỉ nhận giá trị True hoặc False.
Giá trị của biểu thức lôgic thuộc kiểu bool
Ngoài hai giá trị True, False biểu thức lôgic nhận giá trị undefined
Biểu thức “2 * 3 // 5 == 1” mang giá trị True
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Biểu diễn nào sau đây là sai trong Python?
b*b>a*c, a*(1-a)+(a-b)>=0; 1/x-x<0
(a-b)>c-d, 1//x-y>=2*x,b*b>a*c
(a-b)>c-d, (a-b)<>b-a,12*a>5a
(a-b)**0.5>x,1/x-y>=2*x,15*a>5
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
55
true
5
false
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho x = True, y = False. Cho biết giá trị của biểu thức sau:
not((x or y ) and x )
true
false
1
x
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Giá trị của ai biểu thức sau là True hay False?
50%3==1
34//5==6
True, True
False, False
True, False
False, True
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Phát biểu nào sau đây bị sai?
Sau <điều kiện> cần có dấu “:”
Khối lệnh tiếp theo không bắt buộc lùi vào 1 tab và thẳng hàng
Khi thực hiện lệnh, Python sẽ kiểm tra <điều kiện> nếu đúng thì thực hiện <khối lệnh>, ngược lại thì bỏ qua chuyến sang lệnh tiếp theo
Sau <điều kiện> không cần có dấu “:”
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Biểu thức lôgic đúng thể hiện số a nằm ngoài [3,8] là:
a < 3 and a >= 8
3 <= a <=8
a < 3 and a > 8
a <= 3 and a >= 8
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
18 questions
HTML & CSS
Quiz
•
9th - 12th Grade
20 questions
การสร้างตาราง ภาษา HTML
Quiz
•
9th - 12th Grade
20 questions
CÂU HỎI ÔN TẬP BÀI 16 17 18
Quiz
•
10th Grade
20 questions
Kiểm tra TX
Quiz
•
10th Grade
22 questions
ĐỀ CƯƠNG ÔN TẬP TIN HỌC CUỐI HỌC KỲ 1 KHỐI 5
Quiz
•
5th Grade - University
22 questions
Scratch_NhanBietHinh_GocXoay
Quiz
•
1st Grade - University
15 questions
HTML CSS
Quiz
•
10th - 12th Grade
20 questions
Lớp 5. Định dạng và bố trí hình ảnh trong văn bản
Quiz
•
5th Grade - University
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
