Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Trịnh CT)
Used 15+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, một xâu kí tự có thể được đặt trong cặp dấu nào?
Nháy kép (“…”)
Nháy đơn (‘…’)
Cả nháy đơn và nháy kép
Dấu ngoặc vuông ([…])
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, chỉ số đầu tiên của một kí tự trong xâu bắt đầu từ số nào?
1
0
-1
2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào trong Python dùng để đếm số kí tự trong một xâu, bao gồm cả dấu cách?
count()
len()
length()
size()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của len("Python") là bao nhiêu?
5
6
7
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, phép toán nào được sử dụng để ghép hai xâu kí tự?
-
*
/
+
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức "Hello" + "World" trong Python sẽ cho kết quả gì?
"Hello" "World"
"HelloWorld"
"Hello+World"
Lỗi chương trình
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để đếm số lần xuất hiện của một xâu con trong một xâu khác?
find()
count()
replace()
len()
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
APLICACIONES FPBÁSICA 1.3
Quiz
•
10th - 12th Grade
20 questions
MS Word Shortcut
Quiz
•
9th - 12th Grade
18 questions
Diseño Digital
Quiz
•
1st - 12th Grade
20 questions
ตอบปัญหาCoding ม.ปลาย
Quiz
•
9th - 12th Grade
20 questions
Electrónica básica
Quiz
•
1st Grade - Professio...
21 questions
CÂU HỎI ÔN TAP HKI
Quiz
•
5th Grade - University
16 questions
Kod Arahan
Quiz
•
9th - 11th Grade
20 questions
LATIHAN SIMDIG
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
