
Ôn Tập Cuối Kỳ 2
Quiz
•
Others
•
University
•
Easy
Thiệt Lê Thị
Used 5+ times
FREE Resource
Enhance your content
49 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Có bao nhiêu xâu kí tự nào hợp lệ?
1) “123_@##”
2) “hoa hau”
3) “346h7g84jd”
4) python
5) “01028475”
6) 123456
5.
6.
4.
3
2.
MULTIPLE CHOICE QUESTION
5 sec • 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ự.
3.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Sau khi thực hiện lệnh sau, biến s sẽ có kết quả là: s1 ="3986443" s2 = "" for ch in s1: if int(ch) % 2 == 0: s2 = s2 + ch print(s2)
3986443.
8644.
39864.
443.
4.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Biểu thức sau cho kết quả đúng hay sai? S1 = "12345" S2 = "3e4r45" S3 = "45" S3 in S1 S3 in S2
True, False.
True, True.
False, False.
False, True
5.
MULTIPLE CHOICE QUESTION
5 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 không?
test().
in().
find().
split().
6.
MULTIPLE CHOICE QUESTION
5 sec • 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à:
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.
7.
MULTIPLE CHOICE QUESTION
5 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.
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
45 questions
Đề Cương Ôn Tập Địa Lí 10
Quiz
•
University
51 questions
GDKTPL GK2
Quiz
•
10th Grade - University
50 questions
Hardware system KMA
Quiz
•
University
52 questions
tinh học lớp 10
Quiz
•
University
50 questions
Câu hỏi về hoa và quả
Quiz
•
University
50 questions
Đề Cương Ôn Tập Thi HKI Địa
Quiz
•
University
49 questions
Học Phần A3
Quiz
•
University
44 questions
Quiz về Văn Minh Ấn Độ 2
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Others
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University