
Tin HK2
Authored by Như Hwin
Instructional Technology
11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. Để thêm phần tử vào cuối danh sách ta dùng hàm:
A. append()
B. pop()
C. clear()
D. remove()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?
A. append()
B. pop()
C. clear()
D. remove()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa 2 phần tử ở vị trí 1 và 2 trong danh sách a hiện tại ta dùng lệnh:
A. del a[1:2]
B. del a[0:2]
C. del a[0:3]
D. del a[1:3]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:
A. del(2)
B. del a[2]
C. del a
D. remove(2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 10. Để 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. a.pop()
B. pop a()
C. pop()
D. del a()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Để khai báo danh sách a rỗng, phương án nào sau đây đúng?
A. a ==[]
B. a= 0
C. a = []
D. a = [0]
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
15 questions
Google Workspace for Education
Quiz
•
10th - 12th Grade
15 questions
BESPOKE One Door
Quiz
•
1st - 12th Grade
15 questions
REPASO DE CONTENIDOS
Quiz
•
1st - 12th Grade
18 questions
Conecta IF
Quiz
•
9th - 12th Grade
13 questions
U r mom ashley
Quiz
•
9th - 12th Grade
17 questions
Indovina le proprietà del vetro
Quiz
•
6th Grade - University
18 questions
Blender (Software)
Quiz
•
1st Grade - Professio...
18 questions
Keyboard Shortcuts
Quiz
•
5th - 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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