
I HATE ICT GUYS< REAL HATE
Quiz
•
English
•
Professional Development
•
Medium
Jack TheKingSlayer
Used 1+ times
FREE Resource
Enhance your content
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu hỏi: Cho danh sách A = [1, "One", 9, 15, "Two", True, False). Khi thực hiện A.append("NewElement") và sau đó del (A[3]), danh sách A sẽ như thế nào?
[1, "One", 9, "Two", True, False, "NewElement"]
[1, "One", 9, 15, "Two", True, " NewElement"]
[1. "One", 9. "Two", True, "NewElement", False]
[1, "One", 9, 15, "NewElement", True, False)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm một phần tử vào đầu danh sách, ta sử dụng phương thức nào sau đây?
A. append()
C. add(element)
B. insert(0, element)
D. prepend(element)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Danh sách trong Python không thể chứa các phần tử có kiểu dữ liệu khác nhau. ()
Sai
Đúng
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Các phần tử trong danh sách được truy cập thông qua chỉ số, bắt đầu từ 0. ()
Đúng
Sai
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa phần tử cuối cùng của danh sách, ta sử dụng lệnh del(list[-1]).
Đúng
Sai
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức append() được sử dụng để thêm một phần tử vào cuối danh sách. ()
Đúng
Sai
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách A = [1, 2, 6, 10]. Sau khi thực hiện lệnh A.insert(2, 5), danh sách A sẽ như thế nào?
[1, 2, 5, 6, 10]
[5, 1, 2, 6, 10]
[1, 2, 6, 5, 10]
[1, 2, 6, 10, 5]
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade