Để biết độ dài của xâu s ta dùng hàm:

Củng cố bài xâu kí tự(Luyện tập)

Quiz
•
Instructional Technology
•
1st Grade
•
Easy
Hải Duy
Used 1+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
str(s)
len(s)
lower(s)
split(s)
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho xâu s1=’ab123’, xâu s2=’a12’ với cú pháp: print(s2 in s1) cho kết quả là:
true
True
False
false
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kí tự cuối cùng của xâu S bất kì là:
S[n]
S[len(S)]
S[len(S)-1]
S[len(S)+1]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả đoạn chương trình sau là gì?
‘02468’
‘13579’
‘0123456789’
‘9876543210’
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng:
1
2
0
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm upper() để làm gì?
Chuyển xâu thành in thường
Chuyển xâu thành in hoa
Tách xâu
Ghép xâu
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kết quả của chương trình sau là?
8.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kết quả của chương trình là?
Similar Resources on Quizizz
10 questions
SHC Comp

Quiz
•
1st - 3rd Grade
10 questions
Music

Quiz
•
1st - 6th Grade
10 questions
Trắc nghiệm tin học lớp 8

Quiz
•
KG - 1st Grade
10 questions
Bài 2. Xử lý thông tin

Quiz
•
1st Grade
13 questions
Tin 10 - Bài 29. Nhận biết lỗi chương trình (T2)

Quiz
•
1st Grade
13 questions
phần mềm logo Lớp 5

Quiz
•
1st Grade - Professio...
11 questions
V1. cuộc đua kỳ thú

Quiz
•
1st - 12th Grade
10 questions
Trắc nghiệm khối 9

Quiz
•
1st - 10th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

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

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Instructional Technology
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
20 questions
Telling Time to the Hour and Half hour

Quiz
•
1st Grade
15 questions
spelling

Quiz
•
1st - 2nd Grade
12 questions
Pixar Movies!

Quiz
•
KG - 5th Grade
15 questions
goods and services

Quiz
•
1st Grade
10 questions
2D and 3D shapes

Quiz
•
1st Grade
15 questions
Addition and Subtraction

Quiz
•
1st Grade
20 questions
Summer

Quiz
•
KG - University