
Kiểu Dữ Liệu Xâu Kí Tự
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Easy
Phan B2111312
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
A. ‘a’
B. ‘b’
C. ‘ab’
D. ‘ba’
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp y[:m] có nghĩa là
A. Xâu con được nhận bằng cách bỏ m kí tự cuối cùng của xâu y.
B. Xâu con gồm m kí tự bất kì của xâu y.
C. Xâu con gồm m kí tự cuối cùng của xâu y.
D. Xâu con gồm m kí tự đầu tiên của xâu y.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử s = "Thời khoá biểu" thì len(s) bằng bao nhiêu?
A. 3.
B. 5.
C. 14.
D. 17.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm y.raplace(x1,x2) có nghĩa là:
A. Tạo xâu mới từ xâu y bằng cách thay thế xâu con x2 của y bằng xâu x1.
B. Tạo xâu mới bằng cách ghép xâu x1 và xâu x2.
C. Thay thế xâu x1 bằng xâu x1+x2.
D. Tạo xâu mới từ xâu y bằng cách thay thế xâu con x1 của y bằng xâu x2.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm len() cho biết:
A. Độ dài (hay số kí tự) của xâu.
B. Chuyển xâu ban đầu thành kí tự in hoa.
C. Vị trí của kí tự đầu tiên trong xâu.
D. Vị trí của kí tự bất kì trong xâu.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
y=’abcae’
x1=’a’
x2=’d’
print(y.replace(x1,x2))
Trên màn hình máy tính sẽ xuất hiện xâu:
A. ’bce’
B. ’adbcade’
C. ’dbcde’
D. ’dbcae’
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm y.find(x) cho biết điều gì?
A. Trả về vị trí xuất hiện cuối cùng của xâu x trong xâu y.
B. Trả về số nguyên xác định vị trí đầu tiên trong xâu y mà từ đó xâu x xuất hiện như một xâu con của xâu y.
C. Trả về số nguyên xác định vị trí đầu tiên trong xâu x mà từ đó xâu y xuất hiện như một xâu con của xâu x.
D. Trả về vị trí xuất hiện cuối cùng của xâu y trong xâu x.
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
10 questions
Cuestionario sobre Inteligencia Artificial
Quiz
•
10th Grade
14 questions
Eval. 5to primaria 1BIM
Quiz
•
5th Grade - University
10 questions
算法設計01:課堂問答
Quiz
•
10th Grade
13 questions
Quiz Estadística - Excel
Quiz
•
10th Grade
15 questions
Kuis Aplikasi Ms. Word
Quiz
•
10th Grade
15 questions
Bài 27
Quiz
•
10th Grade - University
8 questions
Tin học 9. Chủ đề A&C
Quiz
•
9th - 12th Grade
15 questions
Quiz sobre Windows
Quiz
•
1st Grade - University
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
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
Understanding Protein Synthesis
Interactive video
•
7th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
