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
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
Similar Resources on Wayground
20 questions
LỚP 10 BÀI KTTX - LẦN 1 KÌ II

Quiz
•
10th Grade
15 questions
Khởi động ôn GK1

Quiz
•
10th Grade
21 questions
KTCK 2 7A

Quiz
•
9th - 12th Grade
20 questions
Kiểm tra TX

Quiz
•
10th Grade
20 questions
Lớp 5. Định dạng và bố trí hình ảnh trong văn bản

Quiz
•
5th Grade - University
22 questions
ĐỀ CƯƠNG ÔN TẬP TIN HỌC CUỐI HỌC KỲ 1 KHỐI 5

Quiz
•
5th Grade - University
25 questions
ÔN TẬP GIỮA KỲ 2 TIN 10 KNTT

Quiz
•
10th Grade
23 questions
Câu hỏi về lập trình Python

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade