
Kiểu Dữ Liệu Danh Sách trong Python
Authored by Thắng Vũ
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Khởi tạo dữ liệu danh sách như thế nào? Cách truy cập, thay đổi giá trị và xóa một phần tử trong danh sách như thế nào?
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
3 mins • 1 pt
Có thể truy cập từng phần tử của danh sách thông qua chỉ số. Chỉ số của list đánh số từ 0. Khởi tạo kiểu dữ liệu danh sách trong Python:
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Ví dụ 2. Quan sát các lệnh sau để biết cách thay đổi hoặc xoá phần tử của danh sách
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Ví dụ 3. Quan sát các lệnh sau để biết cách tạo danh sách rỗng (có độ dài 0) và các phép toán ghép danh sách (phép +).
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Cho danh sách A = [1, 0, “One”, 9, 15, “Two”, True, False]. Hãy cho biết giá trị các phần tử: a) A[0] b) A[2] c) A[7] d) A[len(A)]
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Giả sử A là một danh sách các số, mỗi lệnh sau thực hiện gì? a) A = A + [10] b) del (A[0]) c) A = [100] + A d) A = A[1] *25
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Giải thích các lệnh ở mỗi câu sau thực hiện công việc gì? a) >>> S = 0 >>> for i in range(len(A)): if A[i] > 0: S = S + A[i] >>> print(S) b) >>> C = 0 >>> for i in range(len(A)): if A[i] > 0: C = C + 1 >>> print(C)
Evaluate responses using AI:
OFF
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
20 questions
Bài 4: Tìm kiếm thông tin trên Internet
Quiz
•
5th Grade - University
20 questions
IC3 SPARK LV3 - CHỦ ĐỀ 4 - SÁNG TẠO NỘI DUNG - LỚP 5
Quiz
•
5th Grade - University
20 questions
Ôn Tập Công Nghệ Lớp 3
Quiz
•
5th Grade - University
22 questions
TIN HỌC 7
Quiz
•
9th Grade - University
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
23 questions
BÀI 2. XỬ LÍ THÔNG TIN
Quiz
•
1st - 12th Grade
20 questions
ÔN TẬP
Quiz
•
12th Grade
20 questions
2324TX5
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade