
ôn tập về chuỗi
Authored by duong tran
Computers
1st - 5th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Cho xâu s = 'Hello everybody'
print(x[2:5])
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Câu lệnh sau cho kết quả là gì?
print("P" not in "APCSP")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cho xâu a bất kỳ. Ký tự cuối cùng trong xâu a có chỉ số là
100
chưa biết
len(a)-1
n
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau:
print("Hello world!" * 2)
TypeError
Hello world world!
Hello world!Hello world!
Hello world! * 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
chỉ số của các ký tự trong xâu được đánh bắt đầu từ
0
1
2
Không có chỉ số
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
word = "amazing"
Kết quả của chương trình sau:
print(word[1:5])
mazing
mazin
mazi
azin
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x1 = 'tin'
x2 = 'học'
print(x2+x1)
tin học
tinhọc
học tin
họctin
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?