Quiz về kiểu dữ liệu Str
Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Practice Problem
•
Medium
Khang Nghĩa
Used 6+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì?
s = "Hello, world!"
print(len(s))
12
13
14
15
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào dưới đây tạo một chuỗi rỗng?
s = " "
s = str()
s = ' '
Tất cả đều đúng.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào dùng để truy xuất ký tự đầu tiên của chuỗi s = "Python"?
s(0)
s[0]
s{0}
s.first()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
s = "Python"
print(s[-1])
P
n
o
h
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào dưới đây dùng để lấy chuỗi con "thon" từ chuỗi s = "Python"?
s[2:6]
s[-4:]
s[2:]
Cả ba cách.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì?
s = "Python"
print(s[: : -1]
"Python"
"nohtyP"
"n"
Lỗi.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào giúp nối hai chuỗi a = "Hello" và b = "World" thành "Hello World"?
a + b
a + " " + b
a.append(b)
a.join(b)
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
NETWORK HARDWARE
Quiz
•
8th Grade
18 questions
Python 6 сынып
Quiz
•
6th Grade
20 questions
QUIZ TIK Kelas 8
Quiz
•
8th Grade
20 questions
G7 STS 2 Informatika
Quiz
•
7th Grade
15 questions
Data Literacy Quizizz
Quiz
•
6th Grade - University
13 questions
HTML QUIZ
Quiz
•
6th Grade - University
16 questions
3) Understanding Structural Concepts
Quiz
•
8th Grade
19 questions
Communications Essentials L1
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
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
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
20 questions
Percent of a Number
Quiz
•
6th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
