
CÂU HỎI CỦNG CỐ
Authored by Phương Mỹ
Computers
9th - 12th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
tpr2_u0_initial test
Quiz
•
10th Grade
10 questions
TẠO TRANG WEB BẰNG PHẦN MỀM KOMPOZER
Quiz
•
9th Grade
15 questions
Programming
Quiz
•
10th Grade
10 questions
NHÓM HÀM CƠ SỞ DỮ LIỆU
Quiz
•
11th Grade
10 questions
BÀI KIỂM TRA 15P HK2 TIN HỌC 11
Quiz
•
11th Grade
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
10 questions
Soal Ujian Komputer
Quiz
•
10th - 12th Grade
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade