
Lớp 10 - Bài 22: Kiểu dữ liệu danh sách
Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
kiên nguyễn
Used 1+ times
FREE Resource
Enhance your content
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Danh sách A sẽ như thế nào sau các lệnh sau?
>>> A = [2, 3, 5, 6]
>>> A. append(4)
>>> del (A[2])
2, 3, 4, 5, 6, 4.
2, 3, 4, 5, 6.
2, 4, 5, 6.
2, 3, 6, 4
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Dùng lệnh nào sau đây để có thể duyệt lần lượt các phần tử của danh sách?
Lệnh for kết hợp với vùng giá trị của lệnh range().
Lệnh append().
Lệnh for .... in.
Lệnh len().
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Lệnh xoá một phần tử của một danh sách A có chỉ số i là lệnh nào sau đây?
list.del(i).
del A[i].
A. del(i).
A. del[i].
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo một danh sách rỗng ta dùng cú pháp nào sau đây?
< tên danh sách > ==[].
< tên danh sách > = 0.
< tên danh sách > = [].
< tên danh sách > = [0].
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào list trong python?
append().
abs().
link().
add().
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa 2 phần tử ở vị trí 1 và 2 trong danh sách a hiện tại ta dùng lệnh nào sau đây?
del a[1:2].
del a[0:2].
del a[0:3].
del a[1:3].
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kiểu dữ liệu nào sau đây là kiểu dữ liệu danh sách?
list.
bool.
str.
int.
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
7 questions
List1
Quiz
•
10th Grade
10 questions
Bài 29
Quiz
•
10th Grade
10 questions
Trắc nghiệm nhanh
Quiz
•
10th Grade
5 questions
TH10-BH23 on5cau
Quiz
•
10th Grade
10 questions
Ôn tập bài 1 - Dữ liệu, thông tin và xử lý thông tin
Quiz
•
10th Grade
10 questions
bài 20 for
Quiz
•
10th Grade
10 questions
Test trìnhh
Quiz
•
10th Grade
15 questions
Bài 29
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