
TEST LIST PYTHON
Quiz
•
Education
•
11th Grade
•
Practice Problem
•
Hard
huu nhi
Used 5+ times
FREE Resource
Enhance your content in a minute
15 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
30 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> = [<danh sách phần tử, phân cách bởi dấu phẩy>]
<tên danh sách> = []
[<danh sách phần tử, phân cách bởi dấu phẩy>]
<tên danh sách> = [0]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách b có 5 phần tử 1, 2, 3, 4, 5 ta dùng cú pháp:
A. b = 1, 2, 3, 4, 5
b = (1, 2, 3, 4, 5)
b = [1..5]
b = [1, 2, 3, 4, 5]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách c gồm 100 số 0 ta dùng cú pháp:
A.
B.
C.
D.
c = 0*100
c = 0*[100]
c = [0]*100
c = [0*100]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm:
append()
pop()
clear()
remove()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:
del(2)
del a[2]
del a
remove(2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?
append()
pop()
clear()
remove()
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
10 questions
BAB 2 REGULASI TATA KELOLA HUMAS
Quiz
•
11th Grade
10 questions
Quiz #2 Cookery
Quiz
•
11th Grade
20 questions
Kuiz Kenali PSS Siri 1 (Pelajar)
Quiz
•
7th - 12th Grade
20 questions
K11_ÔN KTGK II
Quiz
•
11th Grade
11 questions
Medidas de almacenamiento
Quiz
•
11th Grade
15 questions
Remedial Bahasa Jepang
Quiz
•
11th Grade
15 questions
Cuestionario sobre Diptongos y Hiatos
Quiz
•
5th Grade - University
15 questions
Quiz Ke-1 Arus Listrik Searah
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Education
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
