
Kiểu dữ liệu xâu kí tự trong Python

Quiz
•
Computers
•
10th Grade
•
Medium
Tuyết Nguyễn
Used 23+ times
FREE Resource
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"
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
ÔN TẬP LỚP 4

Quiz
•
12th Grade
20 questions
IC3 - Part 1

Quiz
•
7th Grade - University
20 questions
KIỂM TRA MIỆNG BÀI 25

Quiz
•
10th Grade
20 questions
Bái 12: Kiểu xâu

Quiz
•
11th Grade
20 questions
Kiểm tra thường xuyên tin 8 lần 1

Quiz
•
1st - 12th Grade
13 questions
BÀI 5 BẢN QUYỀN NỘI DUNG THÔNG TIN

Quiz
•
5th Grade - University
18 questions
Kiểm tra kiến thức HTML

Quiz
•
11th Grade - University
15 questions
Kiểm tra 10p RLNVSP - CNTT

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade