Xâu rỗng là xâu có độ dài bằng

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
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
Similar Resources on Quizizz
20 questions
Đề kiểm tra ve Xau khoi 10-2022-2023

Quiz
•
11th Grade
20 questions
Algoritmi Java

Quiz
•
11th Grade
20 questions
Tin 11 - Bài 4,5 - Câu hỏi trắc nghiệm

Quiz
•
11th Grade
21 questions
ÔN TẬP KIỂU XÂU

Quiz
•
1st - 12th Grade
20 questions
KTTX k10

Quiz
•
11th Grade
20 questions
kiểm tra kiểu xâu

Quiz
•
9th - 12th Grade
20 questions
kiểm tra (xâu-danh sách)

Quiz
•
9th - 12th Grade
20 questions
11_KieuXau

Quiz
•
11th Grade
Popular Resources on Quizizz
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