
Kiểu Dữ Liệu Danh Sách Trong Python
Authored by chi duongquynh
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
113 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Hãy chọn phát biểu đúng nhất trong các phát biểu sau đây khi nói về kiểu dữ liệu danh sách trong phthon?
Một tập hợp giá trị.
Kiểu dữ liệu có cấu trúc.
Tập hợp các số nguyên.
Các giá trị logic.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kiểu dữ liệu danh sách trong Python phần tử đầu tiên có chỉ số là?
0
1
-1
Do người lập trình quy định.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Để khởi tạo một danh sách rỗng trong Python câu lệnh nào sau đây là đúng?
ds = ()
ds = {}
ds = []
ds = ""
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Trong Python, khi nói về các phần tử trong danh sách, phát biểu nào sau đây là đúng?
Phải cùng kiểu dữ liệu.
Có thể có các kiểu dữ liệu khác nhau.
Chỉ có thể là kiểu số.
Chỉ có thể là kiểu xâu ký tự.
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Để khởi tạo danh sách trong Python thường sử dụng mấy cách:
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Câu lệnh sau đây thực hiện việc gì trong Python: ds = [i for i in range(4)]?
Là câu lệnh lặp.
Khởi tạo một danh sách.
Câu lệnh nhập dữ liệu từ bàn phím.
Không có câu lệnh này.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cho một danh sách trong Python ds=[7, 5, 10, 6,12, 4,15] câu lệnh print(ds[4]) cho kết quả là?
4
12
6
Báo lỗi
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
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade