
Câu lệnh if
Authored by Bằng Trần
Information Technology (IT)
7th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if trong Python dùng để làm gì?
Lặp lại một hành động nhiều lần
Kiểm tra điều kiện để thực hiện một hành động
Khai báo biến mới
Nhập dữ liệu từ bàn phím
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Điều kiện trong câu lệnh if phải trả về giá trị gì?
0
False
True
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Khi điều kiện trong if là sai, điều gì xảy ra?
Lệnh trong if vẫn được thực hiện
Chương trình sẽ dừng lại
Lệnh trong if bị bỏ qua
Python báo lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Trong Python, dòng lệnh nằm trong if phải được:
Viết hoa toàn bộ
Đặt trong dấu ngoặc kép
Thụt lề (indent)
Có dấu : ở đầu
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Dòng sau có lỗi không? Vì sao?
if diem >= 8
print("Gioi")
Có
Không
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
10 questions
Python
Quiz
•
7th Grade
10 questions
AI For Youth Module 1
Quiz
•
7th Grade
10 questions
Sequencing Blockly - 2
Quiz
•
7th Grade - University
8 questions
Understanding IF Functions in Spreadsheets
Quiz
•
7th Grade - University
6 questions
TÍNH TOÁN TỰ ĐỘNG TRÊN BẢNG TÍNH
Quiz
•
7th Grade
6 questions
Copyright, Fair use & AI
Quiz
•
7th Grade - University
10 questions
Quiz về Thiết bị và Phần mềm
Quiz
•
7th Grade
10 questions
ÔN TẬP KIẾN THỨC TIN HỌC 6
Quiz
•
7th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
20 questions
Revising & Editing practice
Quiz
•
7th Grade