
Rẽ nhánh 4
Authored by Edu TSmart
English
1st Grade
Used 89+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép so sánh == trong Python dùng để:
Gán giá trị
So sánh bằng
So sánh lớn hơn
Answer explanation
Trong Python, phép so sánh == được sử dụng để so sánh hai giá trị xem chúng có bằng nhau hay không. Đây là lý do tại sao lựa chọn đúng là 'So sánh bằng'.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của biểu thức 5 != 3 là:
True
False
Error
Answer explanation
Biểu thức 5 != 3 so sánh hai giá trị. Vì 5 không bằng 3, biểu thức này trả về True. Do đó, lựa chọn đúng là True.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép toán nào dùng để so sánh "nhỏ hơn hoặc bằng"?
<
<=
=<
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp đúng để kiểm tra hai biến bằng nhau là:
if a = b:
if a == b:
if a equals b:
Answer explanation
Cú pháp đúng để kiểm tra hai biến bằng nhau trong Python là 'if a == b:'. Dấu '==' được sử dụng để so sánh giá trị của hai biến, trong khi '=' là phép gán và 'equals' không phải là cú pháp hợp lệ.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong biểu thức if x >= 10:, điều kiện đúng khi:
x nhỏ hơn 10
x bằng hoặc lớn hơn 10
x chỉ lớn hơn 10
Answer explanation
Trong biểu thức if x >= 10:, điều kiện đúng khi x bằng hoặc lớn hơn 10. Do đó, lựa chọn đúng là 'x bằng hoặc lớn hơn 10'.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử != có nghĩa là:
Khác nhau
Bằng nhau
Answer explanation
Toán tử != được sử dụng để so sánh hai giá trị, và nó có nghĩa là 'khác nhau'. Do đó, lựa chọn đúng là 'Khác nhau', trong khi 'Bằng nhau' không đúng.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu a = 4, b = 2, thì a > b là:
True
False
Error
Answer explanation
Với a = 4 và b = 2, ta có 4 > 2. Do đó, a > b là đúng. Chọn True là chính xác.
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
26 questions
Cam 11 - Reading - T1P1 Crop-growing skyscrapers
Quiz
•
9th - 12th Grade
26 questions
Anh văn 1 (unit1,2)
Quiz
•
University
27 questions
Kiểm tra Vocabulary: Parts of the house
Quiz
•
6th Grade
23 questions
BÀI 2
Quiz
•
12th Grade
21 questions
22. SUBJECT
Quiz
•
University
24 questions
PRE Lesson 2
Quiz
•
University
24 questions
tỉnh miền châu
Quiz
•
1st Grade - University
25 questions
quiz 1
Quiz
•
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 English
15 questions
Reading Comprehension
Quiz
•
1st - 5th Grade
16 questions
Text and graphic features in informational text
Quiz
•
1st - 5th Grade
20 questions
Nonfiction Text Features
Quiz
•
1st - 3rd Grade
10 questions
Exploring Natural Resources
Interactive video
•
1st - 5th Grade
15 questions
Author's Purpose
Quiz
•
1st - 3rd Grade
9 questions
Distinguishing Metaphors and Similes
Interactive video
•
1st - 5th Grade
12 questions
HOMOPHONES
Lesson
•
KG - 4th Grade
16 questions
Compound Words
Quiz
•
1st - 3rd Grade