
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
6 questions
kiểm tra bài cũ: Bài 11 tin học 7
Quiz
•
7th Grade
5 questions
LUYỆN TÂP
Quiz
•
7th Grade
10 questions
Unit 1 Code HS Adventures with Karel Javascript
Quiz
•
6th - 8th Grade
10 questions
Uji Pemahaman Berpikir Komputasional
Quiz
•
7th Grade
10 questions
BÀI TEST 5 NỘI DUNG SỐ CƠ BẢN
Quiz
•
6th - 8th Grade
10 questions
Ulangan Harian 1 Informatika kelas 7
Quiz
•
7th Grade
10 questions
ICT BEL 4
Quiz
•
4th Grade - University
9 questions
Викторина без названия
Quiz
•
6th Grade - 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
Discover more resources for Information Technology (IT)
20 questions
7th grade ELA Vocabulary Review
Quiz
•
7th - 8th Grade
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
7 questions
Path and Ortho Greek bases
Quiz
•
6th - 8th Grade
10 questions
Mean, Median, Mode, and Range
Quiz
•
7th Grade
24 questions
7th grade STAAR Reading Review
Quiz
•
7th Grade
23 questions
Mean median mode and range
Quiz
•
7th Grade