
TH10 CĐ5-BH23 Tiết 1
Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
phutuctran 1
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, cú pháp nào sau đây dùng để tạo một danh sách rỗng?
list = ()
list = []
list = {}
list = ""
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây dùng để thêm phần tử vào cuối danh sách?
list.append(x)
list.insert(k, x)
list.add(x)
list.pus(x)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách A = [1, 2, 3, 4, 5], câu lệnh A[1] = 10 có tác dụng gì?
Thêm phần tử 10 vào danh sách
Xóa phần tử thứ 2
Thay phần tử thứ 2 thành 10
Lỗi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây dùng để xóa phần tử ở vị trí chỉ số 1 trong danh sách?
del list[1]
list.remove(1)
list.delete(1)
list[1] = 0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm nào sau đây trả về số lượng phần tử trong danh sách?
len(list)
count(list)
length(list)
size(list)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [10, 20, 30, 40]
a.insert(2, 25)
print(a)
Kết quả sau khi thực hiện đoạn mã trên là gì?
[10, 20, 25, 30, 40]
[10, 25, 20, 30, 40]
[10, 20, 30, 25, 40]
[25, 10, 20, 30, 40]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh A.clear() có tác dụng gì?
Xóa danh sách A
Xóa toàn bộ dữ liệu của danh sách A
Sắp xếp danh sách A
Không có lệnh clear()
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
8 questions
Access Form
Quiz
•
10th Grade
10 questions
Kiến thức về Biến và Kiểu Dữ Liệu
Quiz
•
10th Grade
9 questions
Ôn tập HKI Công nghệ - Khối 5
Quiz
•
5th Grade - University
10 questions
Kiểm Tra Bài Cũ
Quiz
•
10th Grade
10 questions
bài 22 list
Quiz
•
10th Grade
9 questions
Ôn tập bài 1 - CDF - Tin 10
Quiz
•
10th Grade
8 questions
Bài 26. Hàm trong Python
Quiz
•
10th Grade
15 questions
Bài 33
Quiz
•
10th Grade - 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 Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry
Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade