
TIN 10 KNTT ÔN TẬP GK2 BÀI 24-25
Quiz
•
Computers
•
10th Grade
•
Medium
AB C
Used 7+ times
FREE Resource
Enhance your content
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Có bao nhiêu xâu kí tự hợp lệ?
1) “123_@##”
2) “hoa hau”
3) “346h7g84jd”
4) python
5) “01028475”
6) 123456
6
4
5
3
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Xâu '1234%^^%TFRESDRG' có độ dài bằng bao nhiêu?
15
16
17
18
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Phát biểu nào sau đây là sai?
Có thể truy cập từng kí tự của xâu thông qua chỉ số.
Chỉ số bắt đầu từ 0.
Có thể thay đổi từng kí tự của một xâu.
Python không có kiểu dữ liệu kí tự.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho s = '123456abcdefg', s1 = '124', s2 = '235', s3 = 'ab', s4 = '56' + s3. Có bao nhiêu biểu thức lôgic sau đúng?
1) s1 in s
2) s2 in s
3) s3 in s
4) s4 in s
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Phát biểu nào chưa chính xác khi nói về toán tử in?
Biểu thức kiểm tra xâu 1 nằm trong xâu 2 là: <xâu 1> in <xâu 2>
Toán tử in trả về giá trị True nếu xâu 1 nằm trong xâu 2.
Toán tử in trả về giá trị False nếu xâu 1 không nằm trong xâu 2.
Toán tử in là toán tử duy nhất giải quyết được bài toán kiểm tra xâu có nằm trong xâu không.
6.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 1 pt
Phát biểu nào sau đây là đúng khi nói về các phương thức trong python?
Python có một lệnh đặc biệt dành riêng cho xâu kí tự.
Cú pháp của lệnh find là: . Find().
Lệnh find sẽ tìm vị trí đầu tiên của xâu con trong xâu mẹ.
Câu lệnh find có một cú pháp duy nhất.
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
25 questions
Post-Test Pengkabelan Jaringan LAN & Penerapan di Sharing Folder
Quiz
•
10th Grade
22 questions
ASK T3 4.1.7 Penggunaan Pernyataan SQL
Quiz
•
9th - 11th Grade
30 questions
Lesson 3_Animating Symbols (Adobe Animate)
Quiz
•
9th - 12th Grade
32 questions
ÔN TẬP KT CUỐI KỲ 1 TIN 9
Quiz
•
9th - 12th Grade
25 questions
Microsoft Word - Formatting Documents, Tables and Columns
Quiz
•
9th - 11th Grade
25 questions
Chủ đề: Ms powerpoint
Quiz
•
2nd Grade - Professio...
22 questions
Programming Review
Quiz
•
9th - 12th Grade
23 questions
Ôn tập tin học 3_Học Kì I
Quiz
•
3rd Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade