
Câu lệnh if

Quiz
•
Information Technology (IT)
•
7th Grade
•
Hard
Bằng Trần
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
Fundamentos de Programación en Python

Quiz
•
6th Grade - University
10 questions
Luyện tập Tin 7 tiết 11

Quiz
•
7th Grade
10 questions
Python

Quiz
•
7th Grade
8 questions
BLG Teky

Quiz
•
6th - 8th Grade
10 questions
Trắc nghiệm Tin học Lớp 7

Quiz
•
7th Grade
6 questions
Chủ đề A: Bài 1

Quiz
•
7th Grade
7 questions
Chủ đề A: Bài 3

Quiz
•
7th Grade
10 questions
Введение в профессию веб-программист

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Multiplying and Dividing Integers

Quiz
•
7th Grade
30 questions
Math Fluency: Multiply and Divide

Quiz
•
7th Grade
20 questions
Perfect Squares and Square Roots

Quiz
•
7th Grade
13 questions
Parts of Speech

Quiz
•
7th Grade