
Kiểu dữ liệu xâu kí tự trong Python
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Tuyết Nguyễn
Used 23+ times
FREE Resource
Enhance your content in a minute
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
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
Web Systems Quiz - ICT 121
Quiz
•
University
16 questions
Raspberry Pi Pico Quiz
Quiz
•
9th - 12th Grade
20 questions
Android AsyiQuizz
Quiz
•
11th Grade
15 questions
Introduction to Django Framework Quiz
Quiz
•
University
20 questions
BT VỀ HĐH
Quiz
•
10th Grade
18 questions
Tin 10 - Bài 3
Quiz
•
10th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
16 questions
ÔN TẬP LỚP 3
Quiz
•
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
