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
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
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
15 questions
HTML
Quiz
•
8th - 12th Grade
10 questions
kiểm tra 15 phút tin 7
Quiz
•
6th - 9th Grade
10 questions
4Q Week3 Review Quiz (Who missed the Quiz ONLY))
Quiz
•
9th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
15 questions
Arduino
Quiz
•
7th - 9th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
