
python
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Medium
Khánh My
Used 2+ times
FREE Resource
Enhance your content in a minute
91 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 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
10 mins • 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.
Biểu thức “2 * 3 // 5 == 1” mang giá trị True
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
: Kết quả của đoạn chương trình sau:
x=2021
print((x%4==0 and x%100!=0) or x%400==0)
55
True
5
False
4.
MULTIPLE CHOICE QUESTION
10 mins • 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
x
1
5.
MULTIPLE CHOICE QUESTION
10 mins • 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
10 mins • 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.
Có phát biểu chưa đúng trong ba phát biểu trên.Khối lệnh tiếp theo bắt buộc lùi vào 1 tab và thẳng hàng. Nếu không chương trình sẽ thông báo lỗi.
7.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Tìm giá trị m và n thoả mãn (m+4) % 5 == 0 và n*2//3=5
m = 1, n = 8
m = 2, n = 9
m = 3, n = 10,
m = 0, n = 7
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
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
11 questions
Solve Systems of Equations and Inequalities
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 2 Review (CED)
Quiz
•
9th - 12th Grade
20 questions
Winter Jokes
Quiz
•
5th - 12th Grade
