
XÂU KÍ TỰ - PYTHON
Authored by Nga Vu
Computers
10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Những kí tự nào cần đặt trước và sau một xâu kí tự để biểu thị nó là một xâu kí tự trong Python?
#
"
'
/
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu kí tự ‘123&*()+-ABC’ có độ dài là:
12
11
10
9
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s = "abc123456"
s=s[3:6]
cho giá trị bằng:
123
234
bc12
c123
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy xác định biểu thức nào sau đây cho giá trị True
“12” in “0123”
“13” in “0123”
“0123” in “12”
“3201” in “0123”
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
Truy cập từng kí tự của xâu qua chỉ số, chỉ số từ 0 đến độ dài len()
Truy cập từng kí tự của xâu qua chỉ số, chỉ số từ 0 đến độ dài len() -1
Xâu kí tự trong Python là dãy các kí tự Unicode
Xâu có thể được coi là danh sách các kí tự nhưng không thay đổi từng kí tự của xâu
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh for dùng để duyệt từng kí tự ch của xâu s được viết như thế nào?
for ch in range(len(s)):
for ch in len(s):
for ch in s:
for ch in s
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
15 questions
Programming and Debugging
Quiz
•
10th Grade
10 questions
Arquitectura de Ordenadores
Quiz
•
10th - 12th Grade
10 questions
Javascript & Client side scripting
Quiz
•
10th - 12th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
15 questions
Tin học 10-Bài 3
Quiz
•
1st - 10th Grade
15 questions
Bài 1: Dữ liệu, thông tin và xử lí thông tin
Quiz
•
10th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade