
Logical and Python Quiz
Quiz
•
Mathematics
•
12th Grade
•
Medium
Lê Lục
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 SELECT QUESTION
30 sec • 1 pt
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-x<0.
B. (a-b)>c-d, 1//x-y>=2*x,b*b>a*c.
C. (a-b)>c-d, (a-b)<>b-a,12*a>5a.
D. (a-b)**0.5>x,1/x-y>=2*x,15*a>5.
3.
MULTIPLE CHOICE QUESTION
30 sec • 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)
5
55
4.
MULTIPLE CHOICE QUESTION
30 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 )
1
x
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của của 2 biểu thức sau là True hay False?
50%3==1
34//5==6
True, True
True, False
False, False
False, True
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây bị sai?
A. Sau <điều kiện> 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 <điều kiện> nếu đúng thì thực hiện
D. Có phát biểu chưa đúng trong ba phát biểu trên.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tìm giá trị m và n thoả mãn (m+4) % 5 == 0 and n*2//3=5
m = 1, n = 8
m = 2, n = 9
m = 6, n = 7
m = 5, n = 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
11 questions
Statistika SMK
Quiz
•
10th - 12th Grade
10 questions
Matemática Básica I
Quiz
•
12th Grade
10 questions
Teoremas de ángulos y triángulos
Quiz
•
12th Grade
10 questions
SUMATIF BILANGAN RASIONAL KELAS 7
Quiz
•
7th Grade - University
10 questions
Examen productos notables
Quiz
•
12th Grade
10 questions
Logarithme néperien
Quiz
•
10th - 12th Grade
15 questions
ระบบจำนวนจริง
Quiz
•
12th Grade
15 questions
Operasi Matriks Klas X
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Mathematics
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
Tangent Ratio
Quiz
•
9th - 12th Grade
18 questions
Parallel and Perpendicular Lines
Quiz
•
9th - 12th Grade
23 questions
Corresponding Parts Of Congruent Triangles
Quiz
•
8th - 12th Grade
20 questions
Proportional Relationships in Tables, Graphs, and Equations
Quiz
•
9th - 12th Grade
10 questions
Identifying Proportional Relationships
Quiz
•
6th - 12th Grade
15 questions
Function Notation
Quiz
•
9th - 12th Grade
8 questions
Week 3 Memory Builder 1 (Term 2) Solving simple equations
Quiz
•
9th - 12th Grade
