Câu 1. Trong Python, lệnh nào sau đây dùng để đưa ra độ dài của xâu?

Bài tập củng cố: Bài 24. Xâu kí tự

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Diep Nguyen
Used 7+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
A. length()
B. len()
C. s. len()
D. s. length()
2.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Câu 2. Xâu "Hoa cỏ mùa xuân" có độ dài bằng bao nhiêu?
A. 15
B. 16
C. 17
D. 18
3.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Câu 3. Kết quả của chương trình sau là bao nhiêu?
s="abcdefg"
print(s[2])
A. "b"
B. "c"
C. "d"
D. "e"
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Câu 4. Biểu thức sau cho kết quả True hay False?
S1= "12345", S2= "3e4r45", S3= "45"
S3 in S1
S3 in S2
A. False, True
B. True, False
C. True, True
D. False, False
5.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Câu 5. Để duyệt các kí tự trong xâu, ta có mấy cách?
A. 2
B. 3
C. 4
D. 5
Similar Resources on Quizizz
10 questions
Câu hỏi khán giả hoạt động ngoại khóa

Quiz
•
10th Grade
10 questions
tiết 2-bài 16 tin 10

Quiz
•
11th Grade
10 questions
Cryptography Quiz

Quiz
•
University
10 questions
Thực hành một số tính năng của mạng xã hội

Quiz
•
11th Grade
10 questions
10A3_TX1_HK2

Quiz
•
10th Grade
10 questions
KTTX GK2 LẦN 2_10A3

Quiz
•
10th Grade
6 questions
Bài13

Quiz
•
12th Grade
10 questions
Quiz on Basics of C

Quiz
•
University
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 Information Technology (IT)
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