K11 - Giữa HK II - CS Cánh diều
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Nguyễn Thành
Used 9+ times
FREE Resource
Enhance your content in a minute
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm một phần tử vào cuối mảng trong Python ta dùng câu lệnh?
array.insert(-1, element)
array.add(element)
array.append(element)
array.extend(element)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho khai báo mảng sau: A = list(“3456789”). Để in giá trị phần tử thứ 2 của mảng một chiều A ra màn hình ta viết:
print(A[1])
print(A[3])
print(A[2])
print(A[0])
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy cho biết kết quả sau khi thực hiện thuật toán sau:
Bước 1. Tam←x;
Bước 2. x←y;
Bước 3. y← tam;
Giá trị của biến y bằng giá trị của biến x
Giá trị của biến x bằng giá trị của biến y
Khác
Hoán đổi giá trị hai biến x và y
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm max() được sử dụng để làm gì trong mảng hai chiều?
Tìm giá trị lớn nhất trong mỗi hàng
Tìm giá trị lớn nhất trong mảng
Tìm giá trị lớn nhất trong đường chéo chính
Tìm giá trị lớn nhất trong mỗi cột
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để đảo ngược thứ tự các cột trong mảng hai chiều A?
A.invert_columns()
A.flip_columns()
A.reverse_columns()
A.transpose_columns()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa 2 phần tử ở vị trí 1 và 2 trong danh sách a hiện tại ta dùng lệnh:
del a[0:3]
del a[0:2]
del a[1:3]
del a[1:2]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chỉ số của phần tử đầu tiên của mảng tính từ trái sang phải trong Python là:
0
1
2
3
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
52 questions
12 ÔN TẬP GIỮA KÌ 2
Quiz
•
11th Grade
50 questions
ÔN TẬP TIN HỌC 11 GIỮA HỌC KỲ 1 - NĂM HOC 2023-2024
Quiz
•
11th Grade
50 questions
Excel - Hàm
Quiz
•
9th Grade - University
50 questions
CUỘC CHIẾN KHỞI ĐẦU 12345
Quiz
•
9th - 12th Grade
56 questions
Ôn Tập_KTGK2_Tin11_New (B17-B21)
Quiz
•
11th Grade
50 questions
TIN HỌC 9 - ÔN TẬP GK1 2425
Quiz
•
9th Grade - University
50 questions
Tin 11M5
Quiz
•
11th Grade - University
50 questions
Nghề Quiz 2
Quiz
•
11th 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
