Khởi động
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Ngọc Minh
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kết quả chương trình sau là gì?
A=[1,2,3,4,5,6,5]
for k in A:
print(k, end=" ")
1 2 3 4 5 6
1 2 3 4 5 6 5
1 2 3 4 5
2 3 4 5 6 5
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Giả sử A = [‘a’, ‘b’, ‘c’, ‘d’, 2, 3, 4] Các biểu thức sau trả về giá trị đúng hay sai?
6 in A
‘a’ in A
True, False
True, False
False, True
False, False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Giả sử A = [5, 6, 7, 8, 9, 10, 11, 12] Biểu thức sau trả về giá trị đúng hay sai?
(3 + 4 – 5 + 18 // 4) in A
True
False
Không xác định
Câu lệnh bị lỗi
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách?
clear()
exit()
remove()
del()
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phát biểu nào sau đây là sai?
Sau khi thực hiện lệnh clear(), danh sách gốc trở thành rỗng
Lệnh remove () có chức năng xoá một phần tử có giá trị cho trước
Lệnh remove() xoá tất cả các phần tử có giá trị cho trước trong list
Clear() có tác dụng xoá toàn bộ dữ liệu của danh sách
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Sau khi thực hiện các câu lệnh sau, mảng A như thế nào?
>>> A = [1, 2, 3, 4, 5]
>>> A. remove(2)
>>> print(A)
[1, 2, 3, 4]
[2, 3, 4, 5]
[1, 2, 4, 5]
[1, 3, 4, 5]
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kết quả khi thực hiện chương trình sau?
>>> A = [1, 2, 3, 5]
>>> A.insert(2, 4)
>>> print(A)
1, 2, 3, 4
1, 2, 4, 3, 5
1, 2, 3, 4, 5
1, 2, 4, 5
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
HTML
Quiz
•
9th - 12th Grade
14 questions
TRENDS IN ICT
Quiz
•
12th Grade
10 questions
conditional and iterative statements
Quiz
•
11th Grade
15 questions
ôn tập chỉnh ảnh và làm phim
Quiz
•
11th Grade
10 questions
Baze de date-Design
Quiz
•
12th Grade
11 questions
Eventos de un experimento aleatorio
Quiz
•
9th Grade
10 questions
Ce știm despre Internet?
Quiz
•
4th Grade - University
15 questions
End of term assessment
Quiz
•
9th 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
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
