Tin Cuối Kỳ 2 10G
Quiz
•
Instructional Technology
•
10th Grade
•
Easy
Vd Vdv
Used 3+ times
FREE Resource
Enhance your content
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Trong Python, câu lệnh nào dùng để tính độ dài của xâu s?
A. len(s).
.B. length(s).
C. s.len().
D. s. length().
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. 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
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. Xâu “1234%^^%TFRESDRG” có độ dài bằng bao nhiêu?
16
17
18
15
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Phát biểu nào sau đây là sai?
.
A. Có thể truy cập từng kí tự của xâu thông qua chỉ số
B. Chỉ số bắt đầu từ 0.
C. Có thể thay đổi từng kí tự của một xâu
D. Python không có kiểu dữ liệu kí tự.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. 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)
A. 3986443.
B. 8644.
C. 39864
D. 443.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Biểu thức sau cho kết quả đúng hay sai?
S1 = “12345”
S2 = “3e4r45”
S3 = “45”
S3 in S1
S3 in S2
A. True, False.
B. True, True.
C. False, False.
D. False, True.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Kết quả của chương trình sau nếu s = “python1221” là gì?
s = input("Nhập xâu kí tự bất kì:")
kq = False
for i in range(len(s)-1):
if s[i] == "2" and s[i+1] == "1":
kq = True
break
print(kq)
A. True
B False
C Chương trình bị lỗi
D Vòng lặp vô hạn.
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
40 questions
Auto Basics Semester 2 Final
Quiz
•
10th Grade
40 questions
Bài 26 27
Quiz
•
10th Grade
45 questions
Quiz về quy định trường học
Quiz
•
10th Grade
46 questions
SEGUNDO SECUNDARIA
Quiz
•
3rd Grade - Professio...
50 questions
Tes Sumatif teori dasar listrik
Quiz
•
10th Grade - University
40 questions
Robotics 2021 Review
Quiz
•
9th - 10th Grade
41 questions
Công nghệ giữa kì
Quiz
•
9th - 12th Grade
40 questions
ĐỀ CƯƠNG TIN 8 IC3 HK 2
Quiz
•
1st - 12th Grade
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
Discover more resources for Instructional Technology
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 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
17 questions
Afro Latinos: Una Historia Breve Examen
Quiz
•
9th - 12th Grade
17 questions
Hispanic Heritage Month Trivia
Quiz
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade