
Danh sách và xâu kí tự
Quiz
•
Education
•
9th - 12th Grade
•
Practice Problem
•
Medium
Nguyễn Tươi
Used 6+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Đối tượng dưới đây thuộc kiểu dữ liệu nào?
A = [1, 2, ‘3’]
Danh sách.
Số nguyên.
Số thực.
Xâu kí tự.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho arr = [‘xuan’, ‘hạ’, 1. 4, ‘đông’, ‘3’, 4.5, 7]. Đâu là giá trị của arr[3]?
1.4.
‘đông’.
‘hạ’.
‘3’.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A= [3,5,7,3,5,8,-1,6]
for i in A:
print(i)
Duyệt từng phần tử trong A.
Tính tổng các phần tử trong A.
Tính tổng các phần tử không âm trong A.
Tính tổng các phần tử dương trong A.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả khi thực hiện chương trình sau?
>>> A = [1, 2, 3, 5]
>>> A.insert(2, 4)
>>> print(A)
[1, 2, 3, 4].
[1, 2, 4, 3, 5].
[1, 2, 3, 4, 5].
[1, 2, 4, 5].
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear()
exit()
remove()
del()
6.
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
5.
6.
4.
3.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Chương trình sau giải quyết bài toán gì?
In một chuỗi kí tự từ 0 tới 10.
In một chuỗi kí tự từ 1 tới 10.
In một chuỗi kí tự từ 0 tới 9.
In một chuỗi kí tự từ 1 đến 9.
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
15 questions
ÔN TẬP BÀI 14 + BÀI 15
Quiz
•
9th - 12th Grade
10 questions
"Bài thơ về tiểu đội xe không kính"
Quiz
•
9th Grade
10 questions
KIỂM TRA TIN HOC 4 HKI
Quiz
•
1st - 10th Grade
10 questions
Kumpulan Soal Multimedia kls XII (2)
Quiz
•
1st - 12th Grade
15 questions
BÀI TẬP TRẮC NGHIỆM - BUỔI 12
Quiz
•
9th Grade
10 questions
ASSO - Linux, podstawowe zagadnienia dotyczące systemu i sieci
Quiz
•
9th - 12th Grade
13 questions
Tư tưởng Hồ Chí Minh về đại đoàn kết toàn dân tộc
Quiz
•
1st Grade - University
10 questions
CN 11. ÔN TẬP CUỐI KÌ II
Quiz
•
11th Grade
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 Education
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Meiosis vs mitosis
Quiz
•
9th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
15 questions
Two Step Equations
Quiz
•
9th Grade
