
THCS DANH SÁCH TRONG PYTHON
Quiz
•
Other
•
University
•
Practice Problem
•
Hard
huy hoang
Used 3+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để khai báo danh sách a và khởi tạo danh sách a có 3 phần tử 10, 20, 30, phương án nào sau đây đúng?
a = (10,20,30)
a = {10,20,30}
a = [10,20,30]
a = 10,20,30
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để khai báo danh sách a rỗng, phương án nào sau đây đúng?
a ==[]
a= 0
a = []
a = [0]
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để khởi tạo danh sách a gồm 50 số 0, phương án nào sau đây đúng?
a = 0…50
a = [0…50]
a = [0]*50
a = [0*50]
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Dùng lệnh nào sau đây để lấy ra phần tử cuối cùng trong danh sách a?
pop(a)
a.pop()
pop(len(a))
pop()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:
del(a[2])
del(a[1])
remove(a[2])
remove(a[1])
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn lệnh sau: a=[7,3,8,1,9] del(a[3]) Danh sách a thu được là:
[7,8,1,9]
[7,3,1,9]
[7,3,8,9]
[7,3,8,1]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn lệnh sau: a=[7,3,8,1,9] a.remove(3) Danh sách a thu được là:
[7,8,1,9]
[7,3,1,9]
[7,3,8,9]
Báo lỗi
Access all questions and much more by creating a free account
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
26 questions
Cuestionario de Fundamentos del Desarrollo Cognitivo
Quiz
•
University
25 questions
UF1.1 El Sistema Elèctric
Quiz
•
University
25 questions
Asesmen Pancasila Kelas VI
Quiz
•
6th Grade - University
25 questions
EESTAP1D MS1
Quiz
•
University
25 questions
Índice de Progreso Social
Quiz
•
University
25 questions
Meridian Yang Wei, Yin Wei, Dai
Quiz
•
University
25 questions
ESSCA S5
Quiz
•
University
25 questions
La educación Prehispánica hasta la época de la Colonia
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
