Python - Bài tập về danh sách

Quiz
•
Computers
•
5th Grade
•
Hard
Duy Tran
Used 9+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để tạo danh sách rỗng, chúng ta sử dụng cú pháp nào?
list = []
list = ()
list = {}
list = None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào sau đây đúng khi thêm phần tử vào cuối danh sách ?
list.add(x)
list.append(x)
list.insert(x)
list.push(x)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code sau là gì?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
Lỗi
10
20
30
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau in ra kết quả gì?
4
3
5
6
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Phương thức nào dùng để xóa phần tử tại vị trí chỉ định?
remove()
del
pop()
Tất cả đều sai
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn mã sau là gì?
[1, 2]
[2, 3, 4]
[2, 3]
[3, 4]
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
[IC3 GS5] Living online_Looking at the Internet

Quiz
•
5th Grade
19 questions
Ôn tập tin học 5

Quiz
•
1st - 5th Grade
15 questions
Kiểm tra Logo

Quiz
•
5th Grade
18 questions
Khám Phá Lập Trình Scratch

Quiz
•
5th Grade
18 questions
Linked List

Quiz
•
KG - University
17 questions
Live 2 đề 5

Quiz
•
5th Grade
20 questions
HTML / CSS

Quiz
•
5th - 7th Grade
17 questions
IC3 Spark Cuoc song truc tuyen

Quiz
•
5th 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