
TIN 10 KNTT ÔN TẬP GK2 BÀI 24-25
Quiz
•
Computers
•
10th Grade
•
Medium
LÊ THI KIM LOAN
Used 7+ times
FREE Resource
Enhance your content in a minute
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
27 questions
Linux INF 02
Quiz
•
9th - 11th Grade
24 questions
Tin học 6-Ôn tập giữa kì 2
Quiz
•
9th Grade - University
22 questions
Simple HTML Quiz
Quiz
•
10th Grade
22 questions
HTML Quiz
Quiz
•
9th - 12th Grade
22 questions
006 PD. Struktur Kontrol Percabangan
Quiz
•
10th Grade - University
22 questions
PTS Semester Genap
Quiz
•
10th Grade
22 questions
Контрольный тест по программированию в Unity
Quiz
•
9th - 12th Grade
22 questions
วิชา โปรแกรมนำเสนอ
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
