PY_HW10
Quiz
•
Computers
•
6th Grade
•
Practice Problem
•
Hard
Trung DX
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Lệnh nào được sử dụng để thêm một phần tử vào cuối danh sách?
A. append()
B. insert()
C. extend()
D. add()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Để thêm một phần tử vào danh sách tại vị trí tuỳ chọn, ta sử dụng lệnh nào?
A. append()
B. insert()
C. extend()
D. add()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Để xóa tất cả các phần tử trong danh sách A, lệnh nào sau đây là đúng?
A. clear(0, len(A))
B. clear(A)
C. A.clear()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4: Để lấy ra phần tử cuối cùng trong danh sách A và xóa nó khỏi danh sách, lệnh nào sau đây là đúng?
A. x=A.pop()
B. x=pop(A)
C. x=A[len(A)]
D. x=A[len(A)-1]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: Để sắp xếp danh sách A theo thứ tự tăng dần, lệnh nào sau đây là đúng?
A. reverse(A)
B. A.reverse()
C. A.sort()
D. sort(A)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Kết quả in ra màn hình đoạn chương trình sau:
A. [5,9,7,3,4,1]
B. [5,7,9,3,4,1]
C. [5,7,3,4,1,2,9
D. [2,9,5,7,3,4,1]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7: Kết quả in ra màn hình của đoạn chương trình sau:
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
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
14 questions
Quiz sobre documentos y dibujos de google, y dispositivos
Quiz
•
1st - 6th Grade
10 questions
MIT App
Quiz
•
6th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
13 questions
Spreadsheets
Quiz
•
6th - 8th Grade
10 questions
Recuperação 6 e 7 programação
Quiz
•
6th Grade
12 questions
Quizz Internet
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
