
Bài 23
Authored by Duy Anh Nguyên
Others
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Sử Quiz for Grade 10 Students
Quiz
•
10th Grade
15 questions
Quiz về thần thoại Hy Lạp
Quiz
•
10th Grade
17 questions
Quiz về Hô hấp tế bào
Quiz
•
10th Grade
16 questions
Kiểm Tra CN cuối kỳ 2
Quiz
•
10th Grade
15 questions
AI YÊU BCHAU NHẤT???? (demo)
Quiz
•
10th Grade
14 questions
Kiến thức về Văn minh Âu Lạc
Quiz
•
10th Grade
12 questions
Sư Tử và Kiến Càng
Quiz
•
2nd Grade - University
16 questions
GDDP
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
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
Discover more resources for Others
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Parallel Lines Cut by a Transversal
Quiz
•
10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University