
Tin 10_CĐ5_Bài 25. Một số lệnh làm việc với xâu kí tự
Authored by Võ Thị Thúy Đồng
Computers
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dưới đây dùng kiểm tra một xâu s1 có trong xâu s2 hay không?
s1 is s2
s2 is s1
s1 in s2
s2 in s1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để tìm vị trí xuất hiện đầu tiên của xâu s1 trong xâu s2?
s1 in s2
s1.find(s2)
s2.find(s1)
Không có đáp án đúng
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s = “0, 1, 2, 3, 4, 5, 6, 10”. Kết quả trả về là gì sau khi thực hiện lệnh s.split(“,”)?
[0, 1, 2, 3, 4, 5, 6, 10]
['0', '1', '2', '3', '4', '5', '6', '10']
['0', '1', '2', '3', '4', '5', '6', '1', '0']
[0, 1, 2, 3, 4, 5, 6, 1, 0]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu st = [‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘10’]. Kết quả trả về là gì sau khi thực hiện lệnh “;”.join(st)?
“012345610”
“0 1 2 3 4 5 6 10”
“0; 1; 2; 3; 4; 5; 6; 10”
“0; 1; 2; 3; 4; 5; 6; 1; 0”
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho xâu s = "abcdefghiabc". Xác định phát biểu nào dưới đây là sai?
Biểu thức "abc" in s sẽ trả về giá trị True.
Biểu thức s.find("def") sẽ trả về giá trị 3.
Biểu thức s.find("abc", 1) sẽ trả về giá trị 9.
Biểu thức s.find("xyz") sẽ trả về giá trị 0.
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
10 questions
Kiểm tra 15 phút Tin học 10 - DA - Bài 26,27,28
Quiz
•
10th Grade - University
10 questions
KISI-KISI PTS INFORMATIKA
Quiz
•
10th Grade
10 questions
Quiz Jaringan Komputer
Quiz
•
10th Grade
10 questions
TIN HỌC 10 - BÀI 20
Quiz
•
10th Grade
10 questions
Python with DataScience
Quiz
•
7th Grade - University
10 questions
Pseudocode WHILE Loops
Quiz
•
10th - 12th Grade
10 questions
Bài tập Logo
Quiz
•
1st - 12th Grade
10 questions
Bài 26-Hàm trong Python
Quiz
•
10th Grade
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade