
THCS DANH SÁCH TRONG PYTHON

Quiz
•
Other
•
University
•
Hard
huy hoang
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Chọn Top 10

Quiz
•
University
28 questions
Ôn Tập Giữa Kỳ 2 - GD Kinh Tế & Pháp Luật

Quiz
•
11th Grade - University
35 questions
Câu hỏi về xã hội học

Quiz
•
University
25 questions
Rung chuông vàng khối 5

Quiz
•
5th Grade - University
27 questions
Bai 9

Quiz
•
University
27 questions
trắc nghiệm ktpl giữa kì

Quiz
•
11th Grade - University
29 questions
Câu 30-58

Quiz
•
University
30 questions
AN&QP 41->70

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Other
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University