
THCS Kiểm tra kiến thức về xâu trong Python
Authored by huy hoang
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Xâu rỗng là xâu có độ dài bằng:
1
2
0
3
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để biết độ dài của xâu s ta dùng hàm:
str(s)
len(s)
length(s)
s.len()
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Cho xâu s1='ab123', xâu s2='a12' với cú pháp: s2 in s1 cho kết quả là:
true
True
False
false
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để khởi tạo xâu s rỗng ta dùng lệnh:
s='0'
s=""
s=[]
s=0
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kí tự cuối cùng của xâu S bất kì là:
S[n]
S[len(S)]
S[len(S)-1]
S[len(S)+1]
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả đoạn chương trình sau là gì? S="0123456789" T="" for i in range(len(S)): T=S[i]+T print(T)
"02468"
"13579"
"0123456789"
"9876543210"
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mệnh đề nào dưới đây đúng?
Xâu kí tự trong Python là xâu chỉ gồm các kí tự nằm trong bảng mã ASCII
Xâu kí tự trong Python là xâu bao gồm các kí tự nằm trong bảng mã ASCII và một số kí tự tiếng Việt trong bảng mã Unicode
Xâu kí tự trong Python là xâu bao gồm các kí tự nằm trong bảng mã Unicode
Xâu kí tự trong Python là xâu bao gồm các kí tự số và chữ trong bảng mã Unicode
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
20 questions
Questionnaire Audiovisuel
Quiz
•
University
20 questions
Pendidikan Bahasa Indonesia
Quiz
•
University
20 questions
Mankeu - Pertemuan 1 dan 2
Quiz
•
University
20 questions
PAST vs PRESENT PERFECT (Simple and Continuous)
Quiz
•
5th Grade - Professio...
26 questions
Ouat Quiz
Quiz
•
5th Grade - Professio...
20 questions
Segundo Parcial de Gerencia 2
Quiz
•
University
20 questions
Câu hỏi cuối giờ
Quiz
•
University
20 questions
SPIN
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University