
Bài 25. Các lệnh làm việc với xâu

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Tô Hài
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức nào để kiểm tra xâu 1 có nằm trong xâu 2 hay không?
<xâu 1> in <xâu 2>
<xâu 2> in <xâu 1>
in <xâu 2>
in <xâu 1>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biểu thức: "Quỳnh Lưu" in "THPT Quỳnh Lưu 4" trả lại giá trị nào?
False
True
Báo lỗi
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sử dụng lệnh nào để tìm vị trí của một xâu con trong xâu khác?
test()
in()
find()
split()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh "Trường Sơn".find("Sơn",4) trả lại giá trị gì?
8
7
6
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh "Trường Sơn".find("Sơn",8) trả lại giá trị gì?
0
8
7
-1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của các câu lệnh sau là gì?
s = "12 34 56 ab cd de"
print(s. find(" "))
print(s.find("12"))
print(s. find("34"))
2, 0, 3
2, 1, 3
3, 5, 2
1, 4, 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau trả lại giá trị gì?
>> “abcdabcd”. find(“cd”)
>> “abcdabcd”. find(“cd”, 4)
2, 6
3, 3
2, 2
2, 7
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
BAI 24_LỚP 10

Quiz
•
10th Grade
10 questions
BAI 25_10_BAITAP

Quiz
•
10th Grade
10 questions
KIỂU DỮ LIỆU CÓ CẤU TRÚC

Quiz
•
11th Grade - University
10 questions
Bài 25 tin 10

Quiz
•
10th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU

Quiz
•
1st - 12th Grade
9 questions
ONG VỀ TỔ

Quiz
•
9th - 12th Grade
15 questions
Kiểm tra thường xuyên 3 HK1

Quiz
•
10th Grade
5 questions
TRÒ CHƠI KHỞI ĐỘNG

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
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th 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