
Kiến thức về List trong Python
Authored by LONG NGUYEN
Computers
6th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List là gì trong Python?
List trong Python là một kiểu dữ liệu dùng để lưu trữ một giá trị duy nhất trong một biến.
List trong Python là một kiểu dữ liệu chỉ dùng để lưu trữ chuỗi ký tự.
List trong Python là một kiểu dữ liệu chỉ dùng để lưu trữ số nguyên.
List trong Python là một kiểu dữ liệu dùng để lưu trữ nhiều giá trị khác nhau trong một biến.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách khai báo một List trong Python?
my_list = '1, 2, 3'
my_list = [1, 2, 3]
my_list = (1, 2, 3)
my_list = {1, 2, 3}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để truy cập phần tử trong một List?
list.at(index)
list[element]
list{index}
list[index]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để cập nhật giá trị của một phần tử trong List?
my_list.update(index, new_value)
my_list.replace(index, new_value)
my_list[index] = new_value
my_list.add(index, new_value)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để thêm một phần tử vào List?
my_list.extend(new_element)
my_list.insert(new_element)
my_list.append(new_element)
my_list.add(new_element)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để xóa một phần tử khỏi List?
del my_list[index]
my_list.remove(element) hoặc my_list.pop(index)
my_list.exclude(element)
my_list.clear()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để sắp xếp một List trong Python?
my_list.reorder()
my_list.sort()
my_list.order()
my_list.arrange()
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
Python
Quiz
•
3rd - 10th Grade
15 questions
kiểm tra giữa kì 2
Quiz
•
6th Grade
10 questions
KIỂM TRA 15 PHÚT HK1_ TIN 6
Quiz
•
6th Grade
13 questions
Nhập môn HTML
Quiz
•
6th - 9th Grade
15 questions
BÀI 1O. SƠ ĐỒ TƯ DUY
Quiz
•
6th Grade
15 questions
HTML CSS. Тестирование 1
Quiz
•
6th - 8th Grade
12 questions
computer-6
Quiz
•
6th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade