
Kiểu dữ liệu danh sách trong Python
Quiz
•
Science
•
10th Grade
•
Easy
Lâm Trường
Used 1+ times
FREE Resource
Enhance your content
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn phát biểu đúng khi nói về dữ liệu kiểu mảng(List) trong python.
Dữ liệu kiểu mảng là tập hợp các phần tử không có thứ tự và mọi phần tử có cùng một kiểu dữ liệu.
Dữ liệu kiểu mảng là tập hợp các phần tử có thứ tự và mỗi một phần tử trong mảng có thể có các kiểu dữ liệu khác nhau.
Dữ liệu kiểu mảng là tập hợp các phần tử có thứ tự và mọi phần tử phải có cùng một kiểu dữ liệu.
Tất cả ý trên đều sai.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho khai báo mảng sau: A = list("3456789") Để in giá trị phần tử thứ 2 của mảng một chiều A ra màn hình ta viết:
print(A[2]).
print(A[1]).
print(A[3]).
print(A[0]).
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đối tượng dưới đây thuộc kiểu dữ liệu nào? A = [1, 2, '3']
list(danh sách)
int.
float.
string.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào sau đây dùng để thêm phần tử vào list trong python?
abs().
link().
append().
add().
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Danh sách A sẽ như thế nào sau các lệnh sau? >>> A = [2, 3, 5, 6] >>> A.append(4) >>> del (A[2])
2, 3, 4, 5, 6, 4.
2, 3, 4, 5, 6.
2, 4, 5, 6.
2, 3, 6, 4.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì? A = [2, 3, 5, "python", 6] A.append(4) A.append(2) A.append("x") del(A[2]) print(len(A))
5.
6.
7.
8.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho arr = ['xuan', 'hạ', 1. 4, 'đông', '3', 4.5, 7]. Đâu là giá trị của arr[3]?
1.4.
đông.
hạ.
3.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
40 questions
ĐỀ CƯƠNG ÔN TẬP MÔN KHOA HỌC 4
Quiz
•
1st - 12th Grade
34 questions
TRẮC NGHIÊM KHTN 7 LẦN 1
Quiz
•
7th Grade - University
30 questions
ÔN TẬP KHOA HỌC
Quiz
•
4th Grade - University
35 questions
HOÁ 10_ÔN TẬP HỌC KÌ II
Quiz
•
10th Grade
35 questions
suy giảm tầng ozone
Quiz
•
10th Grade
36 questions
Bài test
Quiz
•
6th Grade - University
36 questions
giữa kỳ lý 11
Quiz
•
10th Grade
30 questions
KHOA HỌC TRÁI ĐẤT
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the States of Matter
Interactive video
•
6th - 10th Grade
16 questions
Macromolecules Quiz
Quiz
•
10th Grade
10 questions
Exploring Biomes and Ecosystems for Kids
Interactive video
•
6th - 10th Grade
10 questions
Newton's Laws in NFL Action
Interactive video
•
6th - 10th Grade
15 questions
Carrying Capacity and Limiting Factors
Quiz
•
9th - 12th Grade
20 questions
Characteristics of Life
Quiz
•
10th Grade
10 questions
Exploring Thermal Energy and Temperature Concepts
Interactive video
•
6th - 10th Grade