
Ôn tập bài 22. Kiểu dữ liệu danh sách

Quiz
•
Other
•
10th Grade
•
Easy
NGUYỄN THÙY
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Danh sách (list) trong Python được đặt trong ký hiệu nào?
{ }
( )
[ ]
< >
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cách khai báo danh sách fruits gồm "cam", "xoài", "ổi" là:
fruits = "cam", "xoài", "ổi"
fruits = ["cam", "xoài", "ổi"]
fruits = {cam, xoài, ổi}
fruits = (cam, xoài, ổi)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chỉ số (index) của phần tử đầu tiên trong danh sách là:
1
-1
0
Tuỳ danh sách
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh để lấy phần tử thứ hai trong danh sách a = [10, 20, 30] là:
a(2)
a[2]
a[1]
a(1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức append() trong danh sách dùng để:
Xoá phần tử
Thêm phần tử vào cuối danh sách
Thêm phần tử vào đầu danh sách
Sắp xếp danh sách
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
[1, 2, 3]
[1, 2, 3, 4]
[4, 1, 2, 3]
Lỗi chương trình
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương pháp nào sau đây giúp lặp qua tất cả phần tử trong danh sách?
Câu lệnh lặp while
Câu lệnh lặp for
Câu lệnh if
Câu lệnh print()
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Học phần 02 - Bảo vệ danh tính số của bạn

Quiz
•
KG - Professional Dev...
10 questions
Quiz về Ngữ Văn

Quiz
•
4th Grade - University
15 questions
Ôn tập tí nào

Quiz
•
5th - 12th Grade
11 questions
Đố vui bài 6

Quiz
•
1st Grade - Professio...
10 questions
Họp phụ huynh

Quiz
•
7th Grade - University
10 questions
Tin 11 Bài 19

Quiz
•
10th Grade
7 questions
Khám phá động từ

Quiz
•
4th Grade - University
10 questions
Nguyễn Văn Minh_Trung học

Quiz
•
1st - 12th Grade
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 Other
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University