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
Tinhoc6_A_B3
Quiz
•
6th Grade
10 questions
Formatting a Spreadsheet
Quiz
•
6th Grade
11 questions
CAPÍTULO 1 NETWORKING ESSENTIALS
Quiz
•
1st - 12th Grade
10 questions
Bài tập Tin học lớp 4
Quiz
•
1st - 12th Grade
10 questions
Reliable or Unreliable
Quiz
•
5th - 6th Grade
10 questions
Ôn tập - Tin học 12
Quiz
•
KG - 12th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
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
