
B25.3-Tin10
Quiz
•
Instructional Technology
•
12th Grade
•
Hard
TRUC Ng
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì?
a = "Hello"
b = "world"
c = a + " " + b
print(c)
hello world.
Hello World.
Hello word.
Helloword.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì? "Trường Sơn".find("Sơn",8)
5.
6.
7.
-1.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì? line = "Geek1 Geek2 Geek3" print(line.split()) print(line.split(' ', 1))
['Geek1', 'Geek2', 'Geek3'] ['Geek1', 'Geek2 Geek3'].
['Geek1', 'Geek2', 'Geek3'] ['Geek1', 'Geek2', 'Geek3'] .
['Geek1 Geek2', 'Geek3'] ['Geek1', 'Geek2', 'Geek3'].
['Geek1 Geek2', 'Geek3'] ['Geek1', 'Geek2 Geek3'].
4.
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à:
Lệnh find sẽ tìm vị trí đầu tiên của xâu con trong xâu mẹ.
Câu lệnh find có một cú pháp duy nhất.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo xâu in hoa từ toàn bộ xâu hiện tại ta dùng hàm nào?
lower().
len().
upper().
srt().
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sử dụng lệnh nào để tìm vị trí của một xâu con trong xâu khác không?
test().
in().
find().
split().
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Phát biểu nào chưa chính xác khi nói về toán tử in?
A. Biểu thức kiểm tra xâu 1 nằm trong xâu 2 là:
B. Toán tử in trả về giá trị True nếu xâu 1 nằm trong xâu 2.
C. Toán tử in trả về giá trị False nếu xâu 1 không nằm trong xâu 2.
D. Toán tử in là toán tử duy nhất giải quyết được bài toán kiểm tra xâu có nằm trong xâu không.
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
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade