
Câu hỏi về xâu ký tự trong Python
Other
1st Grade
Used 1+ 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
Xâu ký tự (chuỗi) trong lập trình là gì?
Một dãy các số nguyên
Một dãy các ký tự liên tiếp nhau
Một biến lưu trữ duy nhất một ký tự
Một kiểu dữ liệu chỉ chứa số thực
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, ký hiệu nào được sử dụng để biểu diễn một xâu ký tự?
"" hoặc ''
[]
{}
()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của biểu thức sau trong Python là gì? s = "Tin hoc 10" print(len(s))
8
9
10
11
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn mã sau: s = "TinHoc10" print(s[3]) Kết quả của chương trình là:
H
h
o
c
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cách đúng để nối hai chuỗi "Hello" và "World" trong Python?
"Hello" + "World"
"Hello" . "World"
concat("Hello", "World")
"Hello" * "World"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ký tự nào dùng để xuống dòng trong chuỗi?
\t
\n
\\
\r
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, phương thức nào được dùng để biến chuỗi "hello" thành "HELLO"?
upper()
lower()
capitalize()
title()
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
11 questions
Quantitative Reasoning
Quiz
•
1st Grade
10 questions
Thể dục 6
Quiz
•
KG - University
15 questions
Liga Santander
Quiz
•
KG - Professional Dev...
10 questions
RH MAS level2
Quiz
•
KG - Professional Dev...
10 questions
Conteo hasta 20
Quiz
•
1st Grade
14 questions
Brawl Stars
Quiz
•
KG - Professional Dev...
10 questions
hafalan surat at tiin
Quiz
•
1st - 10th Grade
15 questions
Schuljubiläum
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
6 questions
President's Day
Lesson
•
1st Grade
10 questions
Identifying Physical and Chemical Changes
Interactive video
•
1st - 5th Grade
7 questions
Lunar and Chinese New Year for Kids | Bedtime History
Interactive video
•
1st - 12th Grade
10 questions
Presidents Day
Interactive video
•
1st - 5th Grade
15 questions
Making Inferences
Quiz
•
1st - 3rd Grade