
PYTHON - List
Authored by Kim Ngọc Huỳnh
Professional Development
1st Grade
Used 24+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Danh sách (list) là gì?
Danh sách là tập hợp chứa nhiều giá trị.
Danh sách chỉ chứa một giá trị đơn chiếc
Danh sách là một kiểu dữ liệu đặc biệt trong Python
Danh sách là tập hợp chứa nhiều giá trị.
Danh sách là một kiểu dữ liệu đặc biệt trong Python
2.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Thêm giá trị của phần tử vào trong danh sách bằng phương thức?
append()
add()
remove()
print()
3.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Xoá giá trị của phần tử ở trong danh sách bằng phương thức?
append()
add()
remove()
print()
4.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Chọn phát biểu đúng trong các phát biểu sau?
Khi muốn xoá một giá trị khỏi danh sách, thì giá trị bắt buộc phải tồn tại trong danh sách.
Kiểu dữ liệu list trong Python là một collection lưu trữ các phần tử theo thứ tự đã cho, có thể thay đổi.
List có cấu trúc dữ liệu mà có khả năng lưu giữ các kiểu dữ liệu khác nhau
Tất cả đáp án đều đúng
5.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
List trong Python được viết với dấu:
[]
()
“ ”
:
6.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Cho đoạn chương trình Python sau:
lopHoc = [“ban”, “ghe”, “hoc sinh”, “giao vien”]
lopHoc.append(“bang”)
print(lopHoc)
Kết quả chương trình được in ra màn hình là:
lopHoc
bang
[‘ban’, ‘ghe’, ‘hoc sinh’, ‘giao vien’]
[‘ban’, ‘ghe’, ‘hoc sinh’, ‘giao vien’, ‘bang’]
7.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
Cho đoạn chương trình Python sau:
fruits = [“apple”, “banana”, “orange”]
fruits.remove(“banana”)
print(fruits)
Kết quả chương trình được in ra màn hình là:
banana
[‘apple’, ‘banana’, ‘orange’]
[‘apple’, ‘orange’]
[‘apple’, ‘banana’, ‘orange’, ‘banana’]
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
14 questions
JAN_Product Knowledge_04.21
Quiz
•
1st - 5th Grade
13 questions
KIỂM TRA NGHIỆP VỤ CHUYÊN ĐỀ TRUNG TÂM THƯƠNG MẠI
Quiz
•
1st - 5th Grade
10 questions
HTML-1
Quiz
•
KG - 3rd Grade
10 questions
Revisão - Desenvolvimento Tecnológico
Quiz
•
1st - 3rd Grade
10 questions
PAT Testing
Quiz
•
1st - 12th Grade
11 questions
Home Smart
Quiz
•
1st - 10th Grade
10 questions
How much do you know about DeFi?
Quiz
•
1st Grade
10 questions
Storytelling
Quiz
•
1st - 3rd 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