BaiThucHanhKieuDanhSach-Python
Quiz
•
Science
•
10th Grade
•
Medium
Trieu Tham
Used 15+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Để khai báo một danh sách rỗng ta dùng cú pháp sau:
<tên danh sách> ==[]
<tên danh sách> = 0
<tên danh sách> = []
<tên danh sách> = [0]
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong python, để khai báo một danh sách và khởi tạo sẵn một số phần tử ta dùng cú pháp nào?
<tên danh sách> = []
<tên danh sách> = []
[]
<tên danh sách> = [0]
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Để khởi tạo danh sách c gồm 100 số 0 ta dùng cú pháp:
c = 0*100
c = 0*[100]
c = [0]*100
c = [0*100]
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh:
a.[1]
a[0]
a.0
a[]
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Để lấy ra phần tử ở cuối danh sách a và đồng thời cũng xóa phần tử đó khỏi danh sách ta dùng lệnh:
a.pop()
pop a()
pop()
del a()
6.
MULTIPLE CHOICE QUESTION
20 sec • 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
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Để thêm số 5 vào cuối danh sách a, phương án nào sau đây đúng?
a.append(5)
append(5)
a.pop(5)
pop(5)
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
12 questions
Heat Transfer
Quiz
•
9th - 10th Grade
10 questions
Agriculture
Quiz
•
10th - 12th Grade
10 questions
Nội Qui Học Onl
Quiz
•
10th Grade
10 questions
Microsoft Excel
Quiz
•
7th - 11th Grade
12 questions
Ciclos biogeoquímicos
Quiz
•
7th - 12th Grade
10 questions
El cuadro sinóptico - PROFE BRAMBILA
Quiz
•
6th Grade - University
10 questions
Conversaciones Generacionales
Quiz
•
10th Grade
11 questions
ciśnienie
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
10 questions
Exploring Wave Behaviors: Reflection, Refraction, and More
Interactive video
•
6th - 10th Grade
10 questions
Kinetic and Potential Energy Explained
Interactive video
•
6th - 10th Grade
7 questions
Explore Magnetic and Electric Forces
Quiz
•
8th - 12th Grade
34 questions
Quiz Week 11 Review(Cell Cycle and DNA)
Quiz
•
9th - 12th Grade
10 questions
Exploring Bill Nye's Discoveries in Plate Tectonics
Interactive video
•
6th - 10th Grade
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
