
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
40 questions
KHTN Hóa. Ôn tập CĐ Dinh dưỡng

Quiz
•
2nd Grade - University
40 questions
Chuyên đề 6: Tốc độ phản ứng hóa học (P1)

Quiz
•
10th Grade
38 questions
Cách mạng tư sản

Quiz
•
10th Grade
35 questions
C++: Chương trình cơ bản và chương trình có tính toán đơn giản

Quiz
•
9th - 12th Grade
34 questions
hjfhgfvhygf

Quiz
•
7th Grade - University
30 questions
Đề ôn kiểm tra GKI - Lớp 10 (Đề 3)

Quiz
•
10th Grade
30 questions
Cats and dogs quiz

Quiz
•
10th Grade
35 questions
KHTN 6 - Ôn tập CK II

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th 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 Latitude and Longitude Concepts

Interactive video
•
6th - 10th Grade
10 questions
Exploring States of Matter and Particle Theory

Interactive video
•
6th - 10th Grade
20 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Distance, Displacement, Speed, and Velocity Explained

Interactive video
•
6th - 10th Grade
24 questions
Cell Transport

Quiz
•
10th Grade
10 questions
Exploring Atoms, Elements, Molecules, and Compounds

Interactive video
•
6th - 10th Grade