
Xâu 2
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Đào Hương
Used 5+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, câu lệnh nào dùng để tính độ dài của xâu s?
len(s)
length(s)
s.len()
s. length()
2.
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
4
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu “1234%^^%TFRESDRG” có độ dài bằng bao nhiêu?
15
16
17
18
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện lệnh sau, biến s sẽ có kết quả là:
s1 ="3986443"
s2 = ""
for ch in s1:
if int(ch) % 2 == 0:
s2 = s2 + ch
print(s2)
3986443
8644
39864
443
5.
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, False
False, True
False, False
True, True
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau cho kết quả là bao nhiêu?
name = "Codelearn"
print(name[0])
'C'
'o'
'c'
Lỗi
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu?
>>> s = “abcdefg”
>>> print(s[2])
'c'
'a'
'b'
'd'
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
10 questions
chương 1 tin học lớp 11
Quiz
•
10th Grade
10 questions
Bài tập Tin học lớp 4
Quiz
•
1st - 12th Grade
10 questions
Khám phá máy tính lớp 5
Quiz
•
10th Grade - Professi...
10 questions
câu hỏi anime
Quiz
•
1st Grade - University
10 questions
Ôn tập - Tin học 12
Quiz
•
KG - 12th Grade
10 questions
BÀI KIỂM TRA GIỮA KÌ 2 LỚP 4
Quiz
•
10th Grade
10 questions
bài 21 Tin 10
Quiz
•
10th Grade
9 questions
Test Excel
Quiz
•
10th - 12th Grade
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
