
Bài tập củng cố: Bài 24. Xâu kí tự
Authored by Diep Nguyen
Information Technology (IT)
10th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Câu 1. Trong Python, lệnh nào sau đây dùng để đưa ra độ dài của xâu?
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?