Đoạn code sau sẽ in ra gì?

Câu Lệnh If

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Minht Phy
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A
B
Không in gì
Lỗi
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì?
Chẵn
Lẽ
3
Không in gì
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn code nào sau đây kiểm tra một số là số dương?
if x > 0: print("Dương")
if x < 0: print("Dương")
if x == 0: print("Dương")
if x != 0: print("Dương")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì?
Đủ tuổi
Gần đủ tuổi
Chưa đủ tuổi
Lỗi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if trong Python luôn phải kết hợp với else. Đúng hay sai?
Đúng
Sai
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn code sau in ra gì nếu nhập n = 5?
Dương
Âm
Số 0
Dương rồi Số 0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn code nào sau đây kiểm tra một số chia hết cho 3?
if x / 3 == 0: ...
if x % 3 == 0: ...
if x // 3 == 0: ...
if x * 3 == 0: ...
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Bài 25: Một số lệnh làm việc với xâu kí tự

Quiz
•
10th Grade
15 questions
Bài 25

Quiz
•
10th Grade - University
10 questions
Ôn tập - Hệ thống tự động hóa - Robotics

Quiz
•
9th Grade - University
10 questions
Bài 26: Hàm trong Python

Quiz
•
10th Grade
15 questions
Bài 27

Quiz
•
10th Grade - University
10 questions
Kiến thức cơ bản về Python CB3

Quiz
•
10th Grade
9 questions
Kiến thức về hàm print() trong Python

Quiz
•
2nd Grade - University
5 questions
Cấu trúc rẽ nhánh if

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University