
hoạt động luyện tập
Authored by pham luyen
Other
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Sử dụng lệnh nào để tìm vị trí của một xâu con trong xâu khác không?
A. test().
B. in().
C. find().
D. split().
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của các câu lệnh sau lần lượt là:
s = "12 34 56 ab cd de "
print(s. find(" "))
print(s.find("12"))
print(s. find("34"))
A. 2, 0, 3.
B. 2, 1, 3.
C. 3, 5, 2.
D. 1, 4, 5.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì?
“abcdabcd”. find(“cd”)
“abcdabcd”. find(“cd”, 4)
A. 2, 6.
B. 3, 3.
C. 2, 2
C. 2, 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để tách xâu:
A. split()
B. join()
C. remove()
D. copy().
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, câu lệnh nào dùng để tính độ dài của xâu s?
A. len(s).
B. length(s).
C. s.len().
D. s. length().
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì?
>>> s = “Một năm có bốn mùa”
>>> s.split()
>>> st = “a, b, c, d, e, f, g, h”
>>> st.split()
‘Một năm có bốn mùa’, [‘a’, ‘b’, ‘c’, ‘d’, ‘e’, ‘f’, ‘g’, ‘h’].
[‘Một’, ‘năm’, ‘có’, ‘bốn’, ‘mùa’], [‘a’, ‘b’, ‘c’, ‘d’, ‘e’, ‘f’, ‘g’, ‘h’].
‘Một năm có bốn mùa’, ‘abcdefgh’
[‘Một’, ‘năm’, ‘có’, ‘bốn’, ‘mùa’], ‘abcdefgh’.
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?
Similar Resources on Wayground
10 questions
10 câu hỏi cực dễ về anime
Quiz
•
5th Grade - University
7 questions
Rio Mesa PRIDE
Quiz
•
9th - 12th Grade
10 questions
Triết học_Buổi 13
Quiz
•
1st - 10th Grade
10 questions
Pasaulinė diena be tabako
Quiz
•
1st - 12th Grade
10 questions
Solar system
Quiz
•
1st - 12th Grade
10 questions
TRẮC NGHIỆM CHÍ KHÍ ANH HÙNG
Quiz
•
10th Grade
11 questions
Adjectives for Hobbies
Quiz
•
9th - 12th Grade
11 questions
Minigame Nâng cao năng lực TPP Quý 1.2025
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade