
KIỂM TRA 10 PHÚT.BÀI 14. KIỂU DANH SÁCH

Quiz
•
Computers
•
10th Grade
•
Medium
HocNT Tin
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm nào?
append()
pop()
clear()
remove()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để khởi tạo danh sách a là một danh sách rỗng ta viết:
a=''
a=[]
a=[0]
a=''
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn chương trình:
a=[1,2,3]
a.insert(0,2)
print(a)
Sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:
a=[0,1,2,3]
a=[2,3]
a=[2,1,2,3]
a=[1,2,3,2]
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho danh sách: a=[0,2,4,6]. Phần tử a[1]=?
0
2
4
6
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh nào?
del(2)
del a[2]
del a
remove(2)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Sau khi thực hiện đoạn chương trình:
a=[3,1,5,2]
a.sort()
print(a)
Danh sách a hiển thị trên màn hình là:
[1,2,3,5]
[3,1,5,2]
[5,3,2,1]
[3,5,2,1]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh:
a[1]
a[0]
a0
a[]
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python 10 Bài 4

Quiz
•
10th Grade
10 questions
Kiểu dữ liệu danh sách (Khối 10)

Quiz
•
10th Grade
15 questions
ôn tập kiến thức lập trình trong CodeCombat

Quiz
•
3rd - 12th Grade
8 questions
Câu hỏi về danh sách trong Python

Quiz
•
10th Grade - University
5 questions
Tin 10_CĐ5_Bài 22. Kiểu dữ liệu danh sách

Quiz
•
10th Grade
5 questions
Bài luyện tập củng cố

Quiz
•
10th Grade
5 questions
Luyện tập bài 14

Quiz
•
9th - 12th Grade
11 questions
10A6_TQK

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade