Trắc nghiệm danh sách trong Python
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Medium
Thầy c3th
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu nào sau đây được sử dụng để lưu trữ một tập hợp các phần tử có thứ tự trong Python?
integer
string
list
dictionary
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách nào sau đây là cách khai báo một danh sách rỗng trong Python?
my_list = { }
my_list = ( )
my_list = [ ]
my_list = list( )
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách my_list = [1, 2, 3, 4, 5]. Giá trị của my_list[2] là gì?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây được sử dụng để thêm một phần tử vào cuối danh sách?
append( )
insert( )
add( )
extend( )
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây được sử dụng để chèn một phần tử vào một vị trí cụ thể trong danh sách?
append( )
insert( )
add( )
extend( )
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây được sử dụng để lấy độ dài của danh sách?
len( )
size( )
length( )
count()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho hai danh sách list1 = [1, 2, 3] và list2 = [4, 5, 6]. Biểu thức list1 + list2 sẽ tạo ra danh sách nào?
[1, 2, 3, 4, 5, 6]
[1, 2, 3, 4, 5]
[4, 5, 6, 1, 2, 3]
[1, 4, 2, 5, 3, 6]
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
Already have an account?
Similar Resources on Wayground
10 questions
Trung Thu 2023 (K8,9,C3,IELTS)
Quiz
•
9th - 12th Grade
10 questions
Học phần 01 - Dấu chân số của bạn
Quiz
•
1st Grade - Professio...
10 questions
Học phần 4 - Thực hành tư duy tích cực trong tương tác trực tuyế
Quiz
•
KG - Professional Dev...
15 questions
ÔN TẬP KIẾN THỨC TÁC PHẨM: TÂY TIẾN
Quiz
•
12th Grade
10 questions
Penilaian Pengetahuan Komputer Akuntansi XII - 1
Quiz
•
11th - 12th Grade
11 questions
The year 2021
Quiz
•
7th Grade - University
10 questions
KỸ NĂNG TRÁCH NHIỆM
Quiz
•
12th Grade
10 questions
KIEM TRA TX CNNN
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
11 questions
Solve Systems of Equations and Inequalities
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 2 Review (CED)
Quiz
•
9th - 12th Grade
20 questions
Winter Jokes
Quiz
•
5th - 12th Grade
