Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Trịnh CT)
Used 15+ times
FREE Resource
Enhance your content in a minute
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
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
25 questions
Lesson 4_Advanced Motion Tweening
Quiz
•
9th - 12th Grade
20 questions
Python básico
Quiz
•
9th - 12th Grade
20 questions
Programming Fundamentals Part 2
Quiz
•
9th - 11th Grade
20 questions
Quiz Pseudocode dan Algoritma Pemrograman
Quiz
•
10th Grade
16 questions
Python programming
Quiz
•
6th - 12th Grade
20 questions
Tin 10 - Tệp và thư mục
Quiz
•
10th Grade
20 questions
ứng xử trên môi trường số. Nghĩa vụ tôn trọng bản quyền lớp 10
Quiz
•
10th Grade
20 questions
Trắc nghiệm Tin 10-Chủ đề A
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
