Xâu kí tự là một ___ các kí tự ___
(Viết thường có dấu)
Xâu kí tự
Quiz
•
Computers
•
10th Grade
•
Hard
Tú Uyên Huỳnh Thị
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Xâu kí tự là một ___ các kí tự ___
(Viết thường có dấu)
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Các cách khai báo xâu kí tự?
s = "Hello"
s = 'Hello'
s = """Hello
10a2"""
s = "Hello'
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Khởi tạo xâu A rỗng:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu x = "Python".
Cách truy cập kí tự "t" trong xâu?
x[2]
x[3]
[x2]
s[2]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu string = "Kí tự"
Lệnh nào in ra kí tự cuối cùng của xâu string?
print( string[len(string)] )
print( string[len(string) - 1] )
print( string[len()-1] )
print( string[len(string) + 1] )
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Cho xâu kí tự string.
Các cách nào kiểm tra xâu string rỗng?
if s == "":
if len(s) == 0:
if not s:
if len(s) - 1 == 0:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn mã Python như hình bên. Cho biết kết quả là gì?
hello
h e l l o
h-e-l-l-o
h-e-l-l-o-
10 questions
TN Bài 12 xâu kí tự _ Cô Tuyết
Quiz
•
10th Grade
10 questions
Trac nghiem Bai 24 Xau ky tu
Quiz
•
10th Grade
10 questions
Trắc nghiệm Bài 26 Hàm trong Python
Quiz
•
10th Grade
10 questions
XÂU KÍ TỰ
Quiz
•
9th - 12th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
10 questions
Ôn tập B24. Xâu kí tự
Quiz
•
10th Grade
10 questions
Bài 26-Hàm trong Python
Quiz
•
10th Grade
14 questions
Kiểu dữ liệu xâu kí tự - xử lí xâu kí tự
Quiz
•
9th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University