Câu hỏi về xâu kí tự trong Python

Quiz
•
Computers
•
10th Grade
•
Easy
Nguyễn Phạm Thủy Trúc
Used 1+ times
FREE Resource
44 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Một xâu kí tự là
Tập hợp các từ.
Một dãy các từ.
Một dãy các kí tự.
Một chuỗi các kí tự.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, xâu kí tự được đặt trong
Cặp nháy kép.
Cặp nháy đơn.
Cả A và B đều đúng.
Cả A và B đều sai.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Các kí tự trong xâu được đánh số bắt đầu từ
0
-1
1
Theo quy ước của người viết chương trình.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python cung cấp hàm để đếm số kí tự trong một xâu kể cả kí tự dấu cách
length()
len()
high()
dem()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, ghép xâu bằng phép
Phép cộng.
Phép and.
Phép //.
Phép ^.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, đếm số lần xuất hiện xâu con bằng hàm
count(x)
y.count(x)
abs(x)
y.abs(x)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xác định xâu con của xâu y từ vị trí m đến trước vị trí n (m
y[m:n)
y(m,n)
y[m:n]
y(m:n]
Create a free account and access millions of resources
Similar Resources on Wayground
47 questions
ĐỀ CƯƠNG GIỮA HK2 _ TIN HỌC LỚP 10

Quiz
•
10th Grade
44 questions
tin hoc 10 2

Quiz
•
10th Grade
40 questions
PAS AIJ XI

Quiz
•
1st Grade - University
40 questions
Lý thuyết Nghề HK1

Quiz
•
11th Grade
40 questions
BÀI KIỂM TRA 11

Quiz
•
1st - 12th Grade
41 questions
ÔN TẬP GK2 - TIN HỌC 10

Quiz
•
10th Grade
42 questions
TN tin qh

Quiz
•
10th Grade
39 questions
Ôn tập giữa kỳ 2 - tin 11

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade