
Bài 23
Quiz
•
Others
•
10th Grade
•
Practice Problem
•
Hard
Duy Anh Nguyên
Used 2+ times
FREE Resource
Enhance your content in a minute
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
12 questions
Đề Cương Giữa Kỳ II - GDKT-PL
Quiz
•
10th Grade
16 questions
Bài 9-Sinh
Quiz
•
9th - 12th Grade
14 questions
Quiz về Lịch sử Việt Nam
Quiz
•
9th - 12th Grade
16 questions
Bài 26 về công nghệ vi sinh vật
Quiz
•
10th Grade
20 questions
đoán thử bao nhiu điểm chọn nhiều cx dc
Quiz
•
10th Grade
15 questions
Quiz về Thần Mưa
Quiz
•
10th Grade
20 questions
Đúng sai và tln toán linh
Quiz
•
9th - 12th Grade
20 questions
lịch sử trung hoa
Quiz
•
10th 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 Others
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
Understanding Protein Synthesis
Interactive video
•
7th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
