
Ôn lại bài 12
Quiz
•
Other
•
10th Grade
•
Medium
Tâm Ngọc Chung
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào được sử dụng để tìm kiếm vị trí xuất hiện đầu tiên của một xâu con trong một xâu ký tự?
find()
replace()
count()
len()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào dùng để đếm số lần xuất hiện của một ký tự trong một xâu ký tự?
find()
replace()
count()
len()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
s= 'abcde'
print(s[:4])
Trên màn hình máy tính sẽ xuất hiện xâu:
abc
bcde
abcd
cde
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm replace() được sử dụng để làm gì với chuỗi ký tự?
Tìm kiếm một chuỗi con trong chuỗi ký tự.
Thay thế một chuỗi con bằng chuỗi mới trong chuỗi ký tự.
Cắt bỏ khoảng trắng thừa ở đầu và cuối chuỗi.
Chuyển đổi tất cả các ký tự trong chuỗi thành chữ thường.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau:
x = "Hello" print(x[2:4])
Kết quả in ra màn hình sẽ là gì?
He
el
ll
lo
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
S1= ‘abcdAaBBcdE’
S2= ‘a’
print(S1.count(S2))
Trên màn hình sẽ xuất hiện giá trị là:
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn code sau:
x = "Hello"
y = "World"
print(x + y)
Kết quả in ra màn hình sẽ là gì?
HelloWorld
Hello World
Hello+World
H e l l o W o r l d
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Teacher's Day
Quiz
•
6th - 12th Grade
10 questions
National 5 Bus Mgt Marketing - MM Place
Quiz
•
KG - University
10 questions
Sustainability Quiz
Quiz
•
1st - 12th Grade
15 questions
G.K.
Quiz
•
10th Grade
10 questions
dragons
Quiz
•
KG - University
13 questions
English Dept Trivia
Quiz
•
9th - 12th Grade
10 questions
Samoa
Quiz
•
10th - 12th Grade
13 questions
Football
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Other
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
7 questions
Combining & Revising Sentences- EOC English I Crunchtime
Quiz
•
9th - 10th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
