
kiểu xâu
Quiz
•
Computers
•
11th Grade
•
Medium
Ngô T. Phương Lan
Used 7+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng
1
2
0
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết độ dài của xâu s ta dùng hàm:
str(s)
len(s)
length(s)
s.len()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s1=’ab’, xâu s2=’a’ với cú pháp: s2 in s1 cho kết quả là:
true
True
False
false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm:
lower()
len()
upper()
srt()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in thường từ toàn bộ xâu hiện tại ta dùng hàm:
lower()
len()
upper()
str()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st =’abc’, xâu st có độ dài là:
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo xâu s rỗng ta dùng lệnh:
s=’0’
s=“”
s=[]
s=0
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Quis Keamanan Data
Quiz
•
10th Grade - University
20 questions
Lists and Tuples - Class 11 - Python
Quiz
•
11th Grade
20 questions
Quiz Fungsi Pada PHP
Quiz
•
11th Grade
15 questions
HTML teszt
Quiz
•
7th - 12th Grade
15 questions
Q2 EMPOTECH Pre-Summative Test
Quiz
•
11th Grade
15 questions
ИнфоМат
Quiz
•
9th - 12th Grade
15 questions
WORKSPACE_ intro
Quiz
•
1st Grade - Professio...
15 questions
Comkrumilk
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade