Ôn tập KTGK. Bài 19 Câu lệnh điều kiện If
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Triệu Thị Minh Huệ
Used 26+ times
FREE Resource
Enhance your content in a minute
15 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?
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
30 sec • 1 pt
Biểu diễn nào sau đây là sai trong Python?
(a-b)>c-d, (a-b)<>b-a,12*a>5a.
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)**0.5>x,1/x-y>=2*x,15*a>5.
3.
MULTIPLE CHOICE QUESTION
45 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)
False.
55
5
True.
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 )
False
True
x
1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của ai biểu thức sau là True hay False?
50%3==1
34//5==6
False, True
True, True
False, False.
True, False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây bị sai?
Khối lệnh tiếp theo không bắt buộc lùi vào 1 tab và thẳng hàng
Sau <điều kiện> cần có dấu “:”
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.
7.
MULTIPLE CHOICE QUESTION
30 sec • 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
20 questions
Photoshop
Quiz
•
9th - 12th Grade
11 questions
P7 - Estructura de control decisión
Quiz
•
1st - 10th Grade
20 questions
Ulangan Harian Analisis Data 8C
Quiz
•
8th Grade - University
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
10 questions
EVALUACION ESTRUCTURAS DE CONTROL CONDICIONAL
Quiz
•
10th Grade
20 questions
Operator Aritmetika dan Perbandingan
Quiz
•
10th Grade
10 questions
Үй жұмысы 10 сынып
Quiz
•
10th Grade
10 questions
X UH 3 TIK
Quiz
•
10th 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
