Kết quả của đoạn mã sau là gì?
x = 7
x += 3
print(x)
QUIZZI khởi động thực hành DH
Quiz
•
Computers
•
10th Grade
•
Medium
Đức Bạch
Used 9+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 7
x += 3
print(x)
7
10
3
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép gán x *= 2 tương đương với lệnh nào sau đây?
x = x * 2
x = x + 2
x = x / 2
x = x - 2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
y = 4
y -= 1
print(y)
4
1
3
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
greeting = "Hello, " + name
print(greeting)
Hello, John
Hello, name
greeting
Hello,
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 8
y = x * 2
z = y - 5
print(z)
16
11
3
13
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép gán y /= 4 tương đương với lệnh nào sau đây?
y = y + 4
y = y - 4
y = y * 4
y = y / 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x, y = 5, 10
x, y = y, x
print(x, y)
5 10
10 5
0 0
Lỗi
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
10 questions
Bai 17
Quiz
•
10th Grade
10 questions
TIN 11 BAI 6
Quiz
•
12th Grade - University
14 questions
Bài 17: Biến và lệnh gán
Quiz
•
11th Grade
14 questions
Bài kiểm tra cuối khóa CS1
Quiz
•
3rd - 12th Grade
15 questions
Kiểm tra thường xuyên 3 HK1
Quiz
•
10th Grade
10 questions
Câu hỏi trắc nghiệm Python
Quiz
•
10th Grade
15 questions
THỬ THÁCH VỚI CHƯƠNG TRÌNH CON
Quiz
•
11th Grade
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
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