
Ôn Tập Cuối Kỳ 2
Quiz
•
Others
•
University
•
Practice Problem
•
Easy
Thiệt Lê Thị
Used 5+ times
FREE Resource
Enhance your content in a minute
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
44 questions
de1
Quiz
•
University
44 questions
Nền tảng- Bài 12
Quiz
•
University
50 questions
Quiz 50 - 99
Quiz
•
University
49 questions
Chương 1 hoá dược 1
Quiz
•
University
52 questions
Câu Hỏi Trắc Nghiệm Công Nghệ 12
Quiz
•
University
53 questions
Ôn Tập Lịch Sử 11
Quiz
•
University
50 questions
Sinh lý Chức Năng Thần Kinh Cao Cấp
Quiz
•
University
44 questions
TCYT
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Others
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
