
Bài 23 Danh sách
Authored by pham thilinh
Other
10th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 1. Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?
A. in.
B. int.
C. range.
D. append.
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 2. 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 = " ")
A. 1 2 3 4 5 6
B. 1 2 3 4 5 6 5
C. 1 2 3 4 5
D. 2 3 4 5 6 5.
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 3. Ngoài việc kết hợp lệnh for và range để duyệt phần tử trong danh sách, có thể sử dụng câu lệnh nào khác?
A. int.
B. while.
C. in range.
D. in.
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 4. Giả sử A = [‘a’, ‘b’, ‘c’, ‘d’, 2, 3, 4]. Các biểu thức sau trả về giá trị đúng hay sai?
6 in A
‘a’ in A
A. True, False.
B. True, False.
C. False, True.
D. False, False.
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Câu 5. Giả sử A = [5, 6, 7, 8, 9, 10, 11, 12]. Biểu thức sau trả về giá trị đúng hay sai?
(3 + 4 – 5 + 18 // 4) in A
A. True.
B. False.
C. Không xác định.
D. Câu lệnh bị lỗi.
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 6. Lệnh nào sau đây xoá toàn bộ danh sách?
A. clear().
B. exit().
C. remove().
D. del().
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 7. Phát biểu nào sau đây là sai?
A. Sau khi thực hiện lệnh clear(), danh sách gốc trở thành rỗng.
B. Lệnh remove () có chức năng xoá một phần tử có giá trị cho trước.
C. Lệnh remove() xoá tất cả các phần tử có giá trị cho trước trong list.
D. Clear() có tác dụng xoá toàn bộ các danh sách.
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
AGRIPRENEUR
Quiz
•
10th Grade
12 questions
Основы алгебры логики
Quiz
•
10th Grade
15 questions
HEALTH - GRADE 10 - Monthly Test
Quiz
•
9th - 10th Grade
15 questions
POTONGAN BAHAN MAKANAN (sayuran)
Quiz
•
10th Grade
12 questions
Câu hỏi về bài toán và thuật toán
Quiz
•
10th Grade
10 questions
VII.ASB PENDIDIKAN PANCASILA
Quiz
•
8th Grade - University
9 questions
Logística
Quiz
•
1st - 10th Grade
10 questions
Pengukuhan Jati Diri
Quiz
•
10th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Other
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
12 questions
Equation of a Circle
Lesson
•
10th Grade
18 questions
Mendelian Genetics
Quiz
•
10th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade