
Câu hỏi về Python
Quiz
•
Other
•
12th Grade
•
Easy
Trong Luu
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong các câu lệnh dưới đây, đâu là câu lệnh hợp lệ có tác dụng khai báo danh sách trong Python
list = {1, 2, 3, 4}
list = (1, 2, 3, 4)
list = [1, 2, 3, 4]
list = “1, 2, 3, 4”
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đáp án nào dưới đây là kết quả hiển thị ra màn hình cho đoạn code sau:
3
4
6
Lỗi chương trình
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đáp án nào dưới đây là kết quả hiển thị ra màn hình cho đoạn code sau:
['apple', 'cherry']
['apple', 'banana']
['banana', 'cherry']
Lỗi chương trình
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đáp án nào dưới đây là kết quả hiển thị ra màn hình cho đoạn code sau:
['red', 'blue']
['red', 'blue', 'green']
['red', 'green', 'blue']
Lỗi chương trình
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong 4 đáp án dưới đây, đáp án nào là lệnh xóa phẩn tử A[i] trong danh sách A:
remove A[i]
del A[i]
delete A[i]
Không thể xóa phần tử A[i] trong danh sách A
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào trong 4 phương án dưới đây thực hiện xóa toàn bộ một danh sách:
remove()
del()
clear()
delete()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách A = [1, 2, 3, 4]. Sau khi thực hiện lệnh A.insert(6,10), danh sách A sẽ nhận giá trị nào trong các phương án dưới đây:
A = [10,1,2,3,4]
A = [1, 2, 3, 4, 10]
A = [1, 2, 3, 4, 6, 10]
Lỗi chương trình vì 6 nằm ngoài phạm vi chỉ số của danh sách
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
15 questions
Harry Potter ve Felsefe Taşı
Quiz
•
6th Grade - Professio...
11 questions
Rectificadores monofásicos
Quiz
•
12th Grade
10 questions
Probabilidad
Quiz
•
12th Grade
13 questions
funnymike true fans
Quiz
•
1st Grade - University
12 questions
חידון לפני שבת #7
Quiz
•
KG - University
10 questions
uh kd 3.6
Quiz
•
12th Grade
10 questions
Quiz 11 (Media Content - Random)
Quiz
•
12th Grade
15 questions
PR2: RRL, Conceptual Framework and Methodology
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Other
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
23 questions
Similar Figures
Quiz
•
9th - 12th Grade
