
Kiểu dữ liệu danh sách trong Python

Quiz
•
Science
•
10th Grade
•
Easy
Lâm Trường
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
32 questions
Câu hỏi về Lập trình Python

Quiz
•
10th Grade
40 questions
Câu hỏi thi THCB bài Win

Quiz
•
6th Grade - Professio...
33 questions
ĐẠI TỪ

Quiz
•
5th Grade - University
38 questions
chuyên đề hóa

Quiz
•
10th Grade
36 questions
KHTN 7- TRẮC NGHIỆM CUỐI KỲ 2-NH 23,24

Quiz
•
9th - 12th Grade
31 questions
Ôn Tập Công Nghệ Lớp 4

Quiz
•
4th Grade - University
30 questions
ÔN TẬP HK I - 10

Quiz
•
10th Grade
30 questions
ÔN TẬP KHOA HỌC LỚP 5/3

Quiz
•
5th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Science
10 questions
Exploring the Scientific Method

Interactive video
•
6th - 10th Grade
10 questions
Exploring Chemical and Physical Changes

Interactive video
•
6th - 10th Grade
10 questions
Exploring the Basics of Density

Interactive video
•
6th - 10th Grade
10 questions
Kinetic and Potential Energy Explained

Interactive video
•
6th - 10th Grade
10 questions
The Evolution of Atomic Theory

Interactive video
•
6th - 10th Grade
10 questions
Exploring Biomes and Ecosystems for Kids

Interactive video
•
6th - 10th Grade
10 questions
Exploring Metals, Nonmetals, and Metalloids

Interactive video
•
6th - 10th Grade
10 questions
Exploring Latitude and Longitude Concepts

Interactive video
•
6th - 10th Grade