
Python - String
Quiz
•
Special Education
•
6th Grade
•
Practice Problem
•
Hard
Dung Nguyen
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của câu lệnh sau là gì?
print(len("Lấy độ dài chuỗi"))
14
15
16
17
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = "Hello September! Welcome to my world"
Muốn lấy được chữ September của chuỗi a thì ta dùng câu lệnh nào?
a[6:15]
a[6:14]
a[7:15]
a[7:14]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = "Today is "
b = 4
c = "September "
print(a+b+c)
Kết quả hiển thị trên màn hình sau khi chạy đoạn lệnh trên là gì?
Today is 4 September
Today is September 4
"Today is 4 September"
Không chạy được (có lỗi)
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kết quả sau khi chạy đoạn lệnh trên là gì?
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Sau khi chạy đoạn lệnh trên thì ta được kết quả là gì?
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
a = "Chung tay đẩy lùi Covid-19"
print(a.find("Covid"))
Kết quả thu được sau khi chạy 2 câu lệnh trên là gì?
Covid
19
18
a[18]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = "Chung tay đẩy lùi Covid-19"
print(a.split())
Kết quả thu được sau khi chạy câu lệnh trên là gì?
['Chung', 'tay', 'đẩy', 'lùi', 'Covid-19']
"Chung tay đẩy", "lùi Covid-19"
'Chung, tay, đẩy, lùi, Covid 19'
"Chung tay", "đẩy lùi Covid-19"
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
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Special Education
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
20 questions
Exponents
Quiz
•
6th Grade
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
15 questions
Distributive Property & Review
Quiz
•
6th Grade
10 questions
Figurative Language
Quiz
•
6th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
