
Câu lệnh IF- THEN

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Phan 2
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 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, 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
1 min • 1 pt
55
True
5
False
4.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 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
1 min • 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.
7.
MULTIPLE CHOICE QUESTION
1 min • 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
Similar Resources on Wayground
15 questions
HTML (basics)

Quiz
•
10th Grade
17 questions
ÔN TẬP CUỐI KỲ II TIN 8

Quiz
•
8th - 11th Grade
18 questions
Linguaggio HTML

Quiz
•
10th Grade
13 questions
HTML тегтері

Quiz
•
1st Grade - University
11 questions
Java Script 1.5. Объекты

Quiz
•
1st - 12th Grade
10 questions
Truy vấn dữ liệu

Quiz
•
9th - 12th Grade
20 questions
Phyton-Midterm

Quiz
•
11th Grade
20 questions
K12 1 TIẾT HỌC KỲ 1 (2024-2025)

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade