
kiểu xâu
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Ngô T. Phương Lan
Used 7+ times
FREE Resource
Enhance your content in a minute
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
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
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
15 questions
Latihan_106
Quiz
•
11th Grade
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
18 questions
Internet 2nd
Quiz
•
11th Grade
20 questions
Basic of Computer and Network
Quiz
•
8th Grade - University
20 questions
2324tx6
Quiz
•
9th - 12th Grade
15 questions
ONLINE SAFETY
Quiz
•
11th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
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
