
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
10 questions
สอบปลายภาคเรียน2/64 วิทยาการคำนวณ
Quiz
•
9th Grade
12 questions
Remidi TLJ
Quiz
•
12th Grade
10 questions
10 câu kiểu xâu tiết 1
Quiz
•
11th Grade
9 questions
Измерение информации
Quiz
•
8th - 10th Grade
12 questions
Веб-дизайн: HTML- таблицы
Quiz
•
11th Grade
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
10 questions
8° / 9° Pensamento Computacional
Quiz
•
9th Grade
13 questions
Pengenalan Aplikasi Blender
Quiz
•
11th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade