
B24_Xaukitu
Authored by Đức Huỳnh
Computers
9th - 12th Grade
Used 1+ 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 CHOICE QUESTION
30 sec • 1 pt
Biểu thức "" in "0123" trả lại giá trị gì
True
False
Báo lỗi
0123
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức logic sau trả kết quả nào ? "010" in "001100"
True
False
4
-1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng:
-1
0
1
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết được độ dài của xâu s, ta dùng hàm:
str(s)
length(s)
len(s)
s.len()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s1='ab', s2='a'. Câu lệnh s1 in s2 cho qua kết quả là:
True
False
true
false
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st='abc'. Xâu st có độ dài:
4
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho biết giá trị của xâu x sau khi thực hiện các lệnh sau đây:
s='Hoang Anh Tuan'
x=s[3:7]
ang
ng An
ang An
ng A
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?