
Bài 23
Quiz
•
Others
•
10th Grade
•
Hard
Duy Anh Nguyên
Used 2+ times
FREE Resource
Enhance your content
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear()
exit()
remove()
del()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
Sau khi thực hiện lệnh clear(), danh sách gốc trở thành rỗng.
Lệnh remove () có chức năng xoá một phần tử có giá trị cho trước.
Lệnh remove() xoá tất cả các phần tử có giá trị cho trước trong list.
Clear() có tác dụng xoá toàn bộ các danh sách.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số phát biểu đúng là:
1) Sau khi thực hiện lệnh clear(), các phần tử trả về giá trị 0.
2) Lệnh remove trả về giá trị False nếu không có trong danh sách.
3) remove() có tác dụng xoá một phần tử có giá trị cho trước trong list.
4) Lệnh remove() có tác dụng xoá một phần tử ở vị trí cho trước.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sau khi thực hiện các câu lệnh sau, danh sách A như thế nào? >>> A = [1, 2, 3, 4, 5] >>> A. remove(2) >>> print(A)
[1, 2, 3, 4]
[2, 3, 4, 5]
[1, 2, 4, 5]
[1, 3, 4, 5]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phần tử có chỉ số bao nhiêu trong danh sách A bị xoá? >>> A = [10, 20, 3, 30, 20, 30, 20, 6, 3, 2, 8, 9] >>> A. remove(3) >>> print(A)
2
3
8
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?
in
int
range
append
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì? A = [1, 2, 3, 4, 5, 6, 5] for k in A: print(k, end = " ")
1 2 3 4 5 6
1 2 3 4 5 6 5
1 2 3 4 5
2 3 4 5 6 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
13 questions
Lịch sử trang 4
Quiz
•
10th Grade
11 questions
KTPL 3
Quiz
•
10th Grade
15 questions
sử 10 b4
Quiz
•
10th Grade
14 questions
Câu hỏi sinh học
Quiz
•
10th Grade
15 questions
Hoa hậu Hoà bình Quốc tế 2021
Quiz
•
10th Grade
15 questions
Bài 2
Quiz
•
10th Grade
16 questions
môn sử
Quiz
•
10th Grade
19 questions
gdqp
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Others
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry
Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade