Trong Python, một xâu kí tự có thể được đặt trong cặp dấu nào?
Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự

Quiz
•
Computers
•
10th Grade
•
Medium
Trịnh CT)
Used 15+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
21 questions
ÔN TẬP KIỂU XÂU

Quiz
•
1st - 12th Grade
20 questions
Một số lệnh làm việc với xâu kí tự

Quiz
•
10th Grade
21 questions
ÔN TÂP PYTHON TIN 10

Quiz
•
10th Grade
20 questions
Kiểm tra kiến thức về Python

Quiz
•
10th Grade
15 questions
BÀI 12- XÂU KÍ TỰ

Quiz
•
10th Grade
20 questions
2324TX5

Quiz
•
9th - 12th Grade
15 questions
Lập trình hướng đối tượng

Quiz
•
1st - 12th Grade
15 questions
Củng Cố - Biến và lệnh gán trong Python

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 Computers
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