
Kiểu Dữ Liệu Danh Sách trong Python
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Thắng Vũ
Used 3+ times
FREE Resource
Enhance your content in a minute
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
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
Already have an account?
Similar Resources on Wayground
16 questions
ÔN TẬP TIN 6 HKI
Quiz
•
1st - 12th Grade
20 questions
ĐÁP ÁN KTTX số 1 - Tin 7 - HK2 - NH: 24 -25
Quiz
•
1st Grade - University
18 questions
Tin học 12 - Bài 10: CSDL quan hệ
Quiz
•
12th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
16 questions
ÔN TẬP LỚP 3
Quiz
•
12th Grade
16 questions
Ôn Tập Khối 3
Quiz
•
3rd Grade - University
21 questions
Tin học 6 - Ôn giữa kỳ 1 (Trắc nghiệm)
Quiz
•
6th Grade - University
20 questions
WINDOWS -3
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
