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
10 questions
Test Online 2 - Đồng vị - Nguyên tử khối
Quiz
•
10th Grade
15 questions
Atoms, elements and compounds
Quiz
•
10th Grade
10 questions
ECOSISTEMAS
Quiz
•
1st - 12th Grade
10 questions
TRY OUT 1 IPA
Quiz
•
10th Grade
10 questions
Unit 4: The Periodic Table of Elements
Quiz
•
10th Grade
8 questions
KSSM_FORM 5_CHAPTER 9_SUBCHAPTER 9.2
Quiz
•
1st - 12th Grade
11 questions
Sistem Sokongan Pada Tumbuhan - Sains KSSM T4
Quiz
•
10th - 11th 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 Science
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
10 questions
EOC Domain 3: Taxonomy
Lesson
•
9th - 10th Grade
9 questions
EOC Domain 4: Evolution
Lesson
•
9th - 10th Grade
10 questions
EOC Domain 5: Ecology
Lesson
•
9th - 10th Grade
11 questions
EOC Domain 2: Genetics
Lesson
•
9th - 10th Grade
10 questions
Exploring the Human Respiratory System
Interactive video
•
6th - 10th Grade
