Câu lệnh gán trong Python là:

ÔN TẬP GIỮA KỲ 2 TIN 10 KNTT

Quiz
•
Computers
•
10th Grade
•
Easy
Lan Anh Nguyễn
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
biến=<biểu thức>
<biểu thức> =biến
biến==<biểu thức>
biến:=<biểu thức>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, lệnh dùng để duyệt từng kí tự ch theo phần tử của xâu s được viết như thế nào?
for ch in range(len(s)):
for ch in len(s):
for ch in s:
for ch in s
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, lệnh dùng để duyệt từng kí tự ch theo phần tử của xâu s được viết như thế nào?
<xâu con>.find(<xâu mẹ)
<xâu mẹ>.find(<xâu con>, start)
<xâu con>.find(<xâu mẹ>, start)
<xâu mẹ>.find(<xâu con>)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách K có 5 phần tử 1, 2, 3, 4, 5 ta dùng lệnh:
K = [1, 2, 3, 4, 5]
K = 1, 2, 3, 4, 5
K = (1, 2, 3, 4, 5)
K = [1..5]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện đoạn chương trình trên giá trị của b là:
a=2
b=3
if a<b:
a=a*2
else:
b=b*2
4
2
6
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, xâu kí tự nào dưới đây không hợp lệ?
1001101
11111111=256
12&*() +- AB
THPT Đông Hiếu
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả trên màn hình là:
s=’hoa’
p=’mai’
print(s+p)
'maihoa'
'mai'
'hoa'
'hoamai'
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
BT VỀ HĐH

Quiz
•
10th Grade
26 questions
Ôn tập HK2

Quiz
•
10th Grade
20 questions
tin học quang minh đẹp trai siêu cấp vũ trụ 7 dải ngân hà

Quiz
•
10th Grade
20 questions
BAI 26_10

Quiz
•
10th Grade
22 questions
Tuần 26- Ôn tập Python - Trắc nghiệm

Quiz
•
10th Grade
20 questions
2324TX5

Quiz
•
9th - 12th Grade
21 questions
ÔN TÂP PYTHON TIN 10

Quiz
•
10th Grade
20 questions
Kiểm tra kiến thức về Python

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade