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
KTTX GK2 LẦN 2_10A3

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

Quiz
•
University
10 questions
Câu hỏi khán giả hoạt động ngoại khóa

Quiz
•
10th Grade
10 questions
Media Literacy

Quiz
•
University
10 questions
Cryptography Quiz

Quiz
•
University
10 questions
Post Tes Stack and Queue

Quiz
•
10th Grade
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
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