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
tin hoc giua ki II
Quiz
•
Other
•
11th Grade
•
Easy
Hải Thị
Used 6+ times
FREE Resource
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()
44 questions
Tin 2
Quiz
•
9th - 12th Grade
45 questions
Speed-Velocity-Acceleration
Quiz
•
9th - 12th Grade
38 questions
10.gk2
Quiz
•
11th Grade
40 questions
Lý thuyết Nghề HK1
Quiz
•
11th Grade
38 questions
ÔN TẬP CUỐI KÌ II K11
Quiz
•
11th Grade
39 questions
đề 3
Quiz
•
1st Grade - University
40 questions
IML kelas 11
Quiz
•
11th Grade
40 questions
BMC TRANSMISSION
Quiz
•
1st - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade