Khởi động

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Ngọc Minh
Used 3+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Kodular (2)

Quiz
•
2nd - 9th Grade
10 questions
Cấu trúc lặp - Python

Quiz
•
9th - 12th Grade
5 questions
Bài luyện tập củng cố

Quiz
•
10th Grade
10 questions
Tin học 10 Bài 27. Tham số của hàm

Quiz
•
10th Grade
10 questions
Trắc nghiệm: Bài 16-Ngôn ngữ lập trình bậc cao và Python

Quiz
•
10th Grade
10 questions
Bài 9 Tạo danh sách, bảng

Quiz
•
12th Grade - University
10 questions
Kiểu dữ liệu danh sách (Khối 10)

Quiz
•
10th Grade
15 questions
Python 10 Bài 4

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade