
Câu hỏi về biểu thức lôgic và Python
Authored by shiroko kryger
Mathematics
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Phát biểu nào sau đây là sai khi nói về biểu thức lôgic?
A. Biểu thức lôgic là biểu thức chỉ nhận giá trị True hoặc False.
B. Giá trị của biểu thức lôgic thuộc kiểu bool
C. Ngoài hai giá trị True, False biểu thức lôgic nhận giá trị undefined
D. Biểu thức “2 * 3 // 5 == 1” mang giá trị True
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Biểu diễn nào sau đây là sai trong Python?
A. b*b>a*c, a*(1-a)+(a-b)>=0, 1/x-xc-d, 1//x-y>=2*x, b*b>a*c.
B. (a-b)>c-d, (a-b)<>b-a,12*a>5a.
C. (a-b)**0.5>x,1/x-y>=2*x,15*a>5.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. 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)
A. 55.
B. True.
C. 5.
D. False.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Cho x = True, y = False. Cho biết giá trị của biểu thức sau: not((x or y ) and x )
A. True
B. False
C. x
D. 1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. Giá trị của hai biểu thức sau là True hay False? 50%3==1 34//5==6
A. True, True
B. False, False.
C. True, False
D. False, True
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Phát biểu nào sau đây bị sai khi nói về lệnh if?
A. Sau cần có dấu “:”
B. Khối lệnh tiếp theo không bắt buộc lùi vào 1 tab và thẳng hàng
C. Khi thực hiện lệnh, Python sẽ kiểm tra nếu đúng thì thực hiện , ngược lại thì bỏ qua chuyến sang lệnh tiếp theo.
D. Tất cả phát biểu sai.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Tìm giá trị m và n thoả mãn (m+4) % 5 == 0 và n*2//3=5
A. m = 1, n = 8
B. m = 2, n = 9
C. m = 3, n = 10
D. m = 0, n = 7
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
40 questions
ข้อสอบปลายภาคเพิ่มเติม2/64
Quiz
•
University
40 questions
Series Alfanuméricas 1_Universidad_2022
Quiz
•
University
30 questions
SNAP 1 Review 2nd 9 wks
Quiz
•
6th Grade - University
31 questions
Unit 4 Test Review
Quiz
•
10th Grade - University
30 questions
SAS Matematika Kelas XI
Quiz
•
10th Grade - University
39 questions
SBA Review Week 1
Quiz
•
6th Grade - University
30 questions
การสร้างตัวแบบกำหนดการเชิงเส้น
Quiz
•
University
30 questions
Números Decimais
Quiz
•
6th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Mathematics
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
7 questions
Introduction to Fractions
Interactive video
•
1st Grade - University
18 questions
Exam Review
Quiz
•
University
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
25 questions
Math College Placement Practice #2
Quiz
•
11th Grade - University
10 questions
One Step Equations Multiply and Divide
Quiz
•
University