
tin hoc giua ki II
Authored by Hải Thị
Other
11th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
có bao nhiêu xâu ký tự nào hợp lệ:
(1) "123_@"
(2) "hoa hau"
(3) "346h7g84jd"
(4) python
(5) "01028475"
(6) 123456
5
6
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
hoàn thành câu lệnh sau để in ra chiều dài của xâu:
x="Hello World"
print(...)
x.length().
x.len()
copy(x)
len(x)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
biểu thức sau cho kết quả đúng hay sai?
S1="12345"
S2="3e4r45"
S3="45"
S3 in S1
S3 in S2
True,True
True,False
False,True
False,False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
kết quả của phương trình sau nếu s="python1221" là gì?
s=input("nhập xâu ký tự bất kỳ:")
kq=False
for i in range (len(s)-1);
if s[i]=="2" and s[i+1]=="1":
kq= True
break
print(kq)
False
Vòng lặp vô hạn
True
Chương trình bị lỗi
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
kết quả của chương trình sau là gì?
a="Hello"
b="world"
c=a+" "+b
print(c)
Helloworld
Hello World
Hello world
hello world
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cho s="123456abcdefg", S1="124",S2="235"
s3="ab",S4"56"+S3
có bao nhiêu biểu thức logic sau đúng?
1)S1 in s
2)S2 in s
3)S3 in s
4)S4 in s
1
4
3
2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
sử dụng lệnh nào sau đây để tìm vị trí của một xâu con trong xâu khác không?
test()
in()
split()
find()
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?