
Kiểu dữ liệu xâu kí tự trong Python
Authored by Tuyết Nguyễn
Computers
10th Grade
Used 26+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trong Python, kiểu dữ liệu xâu kí tự được đặt trong dấu nào?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Biến s = "Python" có kiểu dữ liệu gì trong Python?
int
float
str
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để cho biết độ dài của một xâu trong Python, ta sử dụng hàm nào?
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Trong Python, kết quả của biểu thức "Hello" + "World" là gì?
"HelloWorld"
"HelloWorld!"
"Hello World"
"Hello_World"
5.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Cho biết kết quả của đoạn chương trình sau:
y="Em xinh em đứng một mình cũng xinh"
x="em"
print(y.count(x))
3
1
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Để thay thế tất cả kí tự 'a' trong xâu s = 'banana' thành kí tự 'o', ta dùng lệnh nào?
s.count('a', 'o')
s.find('a', 'o')
s.len('a', 'o')
7.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Cho biết kết quả của đoạn mã bên:
"defg"
"abc"
"ghij"
"cdef"
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
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
20 questions
Kiểm tra 15 phút (Kết thúc chuyên đề A)
Quiz
•
10th Grade
14 questions
ÔN TINHK1, K4
Quiz
•
10th Grade
20 questions
Bài TX1 - HK2 - Tin học 11
Quiz
•
11th Grade
15 questions
THỬ THÁCH VỚI CHƯƠNG TRÌNH CON
Quiz
•
11th Grade
20 questions
BÀI 24-25 TIN 10
Quiz
•
10th Grade
20 questions
TIN 12 BÀI 24. SƠ BỘ VỀ THIẾT KẾ MẠNG
Quiz
•
12th Grade
14 questions
K10 - WHILE
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade