
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
15 questions
Quiz tổng kết khóa học
Quiz
•
6th - 8th Grade
20 questions
Computational Thingking 8
Quiz
•
6th - 8th Grade
20 questions
Tin học 11 chương I
Quiz
•
1st - 12th Grade
10 questions
Quiz: Print, Syntax and Comments in Python
Quiz
•
6th Grade
20 questions
BÀI THI THỬ MÔN TIN HỌC LỚP 4
Quiz
•
1st - 8th Grade
10 questions
Python. Урок-01. Знакомство
Quiz
•
6th - 7th Grade
20 questions
KS3 Year 7 Summative from NCCE
Quiz
•
6th - 8th Grade
16 questions
đề 1
Quiz
•
6th - 8th 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