
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
90 questions
Tin 11 (Anh Nem)
Quiz
•
11th Grade
92 questions
Онкология бойынша сұрақтар
Quiz
•
11th Grade
92 questions
Cuối kỳ I GDKT-PL
Quiz
•
11th Grade
92 questions
GDKT-PL 15 & 16
Quiz
•
11th Grade
91 questions
CHANG SO CUTE
Quiz
•
11th Grade
91 questions
Unit 4-5 Psych Test
Quiz
•
11th Grade
86 questions
Microsoft Word Basics
Quiz
•
6th - 12th Grade
91 questions
ktpk 11 CKI
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Thanksgiving Trivia
Quiz
•
11th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
