
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
Similar Resources on Wayground
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
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
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University