
Bài 25-27

Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
Vũ Hân
Used 2+ times
FREE Resource
49 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm nào sau đây?
lower()
len()
upper()
srt()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để tách xâu
split()
join()
remove()
copy()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì? "0123456789".find("012abc")
-1
0
1
Báo lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s = "1, 2, 3, 4, 5". Muốn xoá bỏ kí tự "," và thay thế bằng dấu " " ta sử dụng lần lượt những câu lệnh nào?
remove() và join()
del() và replace()
split() và join()
split() và replace()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì? >> "abcdabcd". find("cd") >> "abcdabcd". find("cd", 4)
2, 6
3, 3
2, 2
2, 7
6.
MULTIPLE CHOICE QUESTION
30 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?
test()
in()
find()
split()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tách một xâu thành danh sách các từ ta dùng lệnh nào?
Lệnh join()
Lệnh split()
Lệnh len()
Lệnh find()
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade