BaiThucHanhKieuDanhSach-Python
Quiz
•
Science
•
10th Grade
•
Practice Problem
•
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
Already have an account?
Similar Resources on Wayground
14 questions
General knowledge
Quiz
•
2nd - 12th Grade
15 questions
Revisão - 7° Ano - Ciências
Quiz
•
7th Grade - University
15 questions
Quiz sobre Núcleo Celular
Quiz
•
8th Grade - University
12 questions
Plate Tectonics
Quiz
•
10th - 12th Grade
10 questions
Physics = Pressure Level 1
Quiz
•
10th - 11th Grade
15 questions
Mikołaj Kopernik
Quiz
•
1st Grade - Professio...
10 questions
INTRODUCCION A LA GENETICA
Quiz
•
KG - 10th Grade
14 questions
Preguntas Diagnostico Biología 1P
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
12 questions
Endothermic and Exothermic Reactions
Quiz
•
7th - 10th Grade
20 questions
Balanced and unbalanced forces
Quiz
•
10th Grade
10 questions
Exploring Thermal Energy and Temperature Concepts
Interactive video
•
6th - 10th Grade
10 questions
Exploring Kinetic and Potential Energy Concepts
Interactive video
•
6th - 10th Grade
32 questions
Explore Mixtures and Solutions
Quiz
•
9th - 12th Grade
