
Lần đầu làm quizz
Authored by Nguyễn Đức
Fun
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 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
Answer explanation
Biểu thức lôgic chỉ nhận giá trị True hoặc False, không nhận giá trị undefined
2.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
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-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
Answer explanation
Trong biểu thức lôgic không có biểu diễn <> và thiếu dấu sao ở 5a
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
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.
Answer explanation
>>> >>> x=2021
>>> ((x%4==0 or x%100!=0) or x%400==0)
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
Answer explanation
not((x or y ) and x ) = not((True or False) and True)
= not(True and True) = not(True) = False
5.
MULTIPLE CHOICE QUESTION
30 sec • 4 pts
Câu 5. Giá trị của ai 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
Answer explanation
50%3=2!=1
34//5=6==6
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Câu 6. 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 <khối lệnh>, ngược lại thì bỏ qua chuyến sang lệnh tiếp theo.
D. Có phát biểu chưa đúng trong ba phát biểu trên.
Answer explanation
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
20 sec • 8 pts
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
Answer explanation
m = 1: (1+4) % 5 == 0
n = 8: n*2//3 = 8 * 2 //3 =16 // 3 = 5
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
19 questions
Henry stickmin quiz
Quiz
•
3rd Grade - University
15 questions
Sąsiedzi Polski
Quiz
•
6th Grade - University
10 questions
Trolls World Tour fan quiz
Quiz
•
1st Grade - University
14 questions
classes grammaticales
Quiz
•
3rd Grade - University
20 questions
Name the Cartoon Network Shows
Quiz
•
KG - University
10 questions
PUBG
Quiz
•
3rd Grade - Professio...
10 questions
Disney Trivia
Quiz
•
5th - 12th Grade
20 questions
Signs Of The Zodiac
Quiz
•
KG - 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade