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-
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
[TN]TIN10_BAI18_GÓI CÂU HỎI 1

Quiz
•
10th Grade
15 questions
Quizz Xâu kí tự(tiết 1)

Quiz
•
10th Grade
15 questions
Unit 2.2 Programming Techniques MCQs L1

Quiz
•
10th Grade
10 questions
ÔN TẬP BÀI 16

Quiz
•
10th Grade
12 questions
Ôn tập Khối 11

Quiz
•
10th Grade
10 questions
Trắc nghiệm: Bài 16-Ngôn ngữ lập trình bậc cao và Python

Quiz
•
10th Grade
10 questions
24. XÂU KÍ TỰ

Quiz
•
10th Grade
11 questions
Trắc nghiệm Tin học 10 Bài 18: Các lệnh vào ra đơn giản( GOI 2)

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade