CÂU HỎI CỦNG CỐ
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Phương Mỹ
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy chỉ ra cú pháp đầy đủ của lệnh find():
<xâu con>.find(<xâu mẹ>,start)
<xâu mẹ>.find(<xâu con>,start)
<xâu con>.find(<xâu mẹ>)
<xâu mẹ>.find(<xâu con>)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy xác định biểu thức nào sau đây cho giá trị True
“12” in “0123”
“13” in “0123”
“0123” in “12”
“3201” in “0123”
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì?
>>> s = "0123456789"
>>> s.find("012abc")
0
-1
1
Báo lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách s = ["Hội", "Khỏe", "Phù", "Đổng"].
Sau khi dùng lệnh...... ta được kết quả:
s = "Hội Khỏe Phù Đổng"
" ".join[s]
" ".join(s)
s.split()
s.split[ ]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, lệnh nào sau đây dùng để tách xâu:
join()
remove()
split()
copy()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là đúng khi nói về các phương thức trong python?
Python có một lệnh đặc biệt dành riêng cho xâu kí tự.
Cú pháp của lệnh find là: <xâu mẹ>. Find(<xâu con>).
Câu lệnh find có một cú pháp duy nhất.
Lệnh find sẽ tìm vị trí đầu tiên của xâu con trong xâu mẹ và trả về vị trí đó
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì?
len(“Hà Nội Việt Nam”)
13
15
14
16
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
TIN 10_B22_LIST
Quiz
•
10th Grade
10 questions
Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản
Quiz
•
10th Grade
10 questions
Bài 18-Các lệnh vào ra đơn giản
Quiz
•
10th Grade
10 questions
Ai nhanh hơn For-do
Quiz
•
5th Grade - University
10 questions
python-BTxâu
Quiz
•
9th - 12th Grade
15 questions
bài tập mảng tiết 1
Quiz
•
11th Grade
10 questions
ÔN TẬP KIẾN THỨC XÂU KÍ TỰ
Quiz
•
9th - 12th Grade
10 questions
Chủ đề 5 -Lớp 4- THẾ GIỚI LOGO
Quiz
•
12th 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
CTEA Computer Vocab Terms #1
Quiz
•
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
