
VÒNG 1. KIỂU DANH SÁCH

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Trương Minh Hậu undefined
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào dùng để thêm phần tử vào cuối danh sách trong Python?
len()
pop()
append()
add()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đối với kiểu dữ liệu danh sách, hàm len trong Python có chức năng gì?
Số lượng phần tử trong danh sách.
Xóa phần tử khỏi danh sách.
Chỉ ra kiểu dữ liệu của danh sách.
Đưa ra giá trị lớn nhất chứa trong danh sách.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tham chiếu đến phần tử đầu tiên trong danh sách A ta dùng lệnh:
A[1]
A[0]
A[]
A[-1]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
pop()
remove()
del()
clear()
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Sau khi thực hiện đoạn chương trình sau thì danh sách a có các phần tử:
a=[1,2,3]
a.insert(0,2)
print(a)
[0,1,2,3]
[2,3]
[2,1,2,3]
[1,2,3,2]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách a = [1, 2, 3, 4, 5]. Lệnh nào dưới đây sẽ trả về giá trị nhỏ nhất trong danh sách?
min(a)
a.min()
max(a)
a.max()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để sắp xếp danh sách a theo thứ tự không giảm, phương án nào sau đây đúng?
sort(a)
a.sort()
sum(a)
a.clear()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Luyện tập

Quiz
•
10th Grade
6 questions
Vòng 3. Kiểu danh sách

Quiz
•
10th Grade
15 questions
AI và đạo đức người dùng

Quiz
•
9th - 12th Grade
10 questions
Python Жолдық және символдық шамалар

Quiz
•
10th Grade
11 questions
Kiến thức về Dữ liệu và Thông tin

Quiz
•
10th Grade
15 questions
SUMATIF FASE E (Berpikir Komputasional)

Quiz
•
10th Grade
10 questions
PHIẾU HỌC TẬP SỐ 2 - BÀI 10 - TIN HỌC 10

Quiz
•
10th Grade
9 questions
Kiến thức về hàm print() trong Python

Quiz
•
2nd Grade - University
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 Information Technology (IT)
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion

Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions

Quiz
•
10th Grade
10 questions
Colonial Grievances Against the King Quiz

Quiz
•
10th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade