
Câu hỏi về Python
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Easy
Trong Luu
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
12 questions
Empatía
Quiz
•
KG - Professional Dev...
10 questions
SHORT VIDEO 3
Quiz
•
12th Grade
10 questions
Perlindungan dan Penegakan Hukum
Quiz
•
12th Grade
11 questions
Behaviourist explanation for phobias
Quiz
•
12th Grade
11 questions
XS CFD Quiz
Quiz
•
9th - 12th Grade
13 questions
MEDIOS DE COMUNICACIÓN MASIVOS
Quiz
•
7th - 12th Grade
10 questions
Anime Quiz
Quiz
•
KG - Professional Dev...
11 questions
Powstanie Warszawskie
Quiz
•
KG - Professional Dev...
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
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade
