
Chủ đề F.List data type in python
Authored by Trần Mai
Computers
11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Để biết kích thước của danh sách ta dùng hàm:
type()
len()
sort()
pop()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Để khởi tạo danh sách b có 5 phần tử 1, 2, 3, 4, 5 ta dùng viết:
b = 1, 2, 3, 4, 5
b = (1, 2, 3, 4, 5)
b = [1..5]
b = [1, 2, 3, 4, 5]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. Để thêm phần tử vào cuối danh sách ta dùng hàm:
append()
pop()
clear()
remove()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Để xóa phần tử thứ 2 trong danh sách a ta dùng lệnh:
del(2)
del a[2]
del a
remove(2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. Để xóa tất cả các phần tử trong danh sách, ta gọi hàm thành viên:
append()
pop()
clear()
remove()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Để 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[]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Cho mảng a=[0,2,4,6]. Phần tử a[1]=?
0
2
4
6
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
18 questions
LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC
Quiz
•
10th Grade - University
13 questions
ICT and Retail Industry
Quiz
•
8th - 12th Grade
17 questions
BÀI 7. Thực hành tìm kiếm thông tin trên internet
Quiz
•
11th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
21 questions
Computer System
Quiz
•
9th - 11th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade