Ôn tập cuối kỳ Tin 11 - CS
Quiz
•
Computers
•
11th Grade
•
Medium
Nguyễn Đẹp
Used 7+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 4 pts
Trong Python, danh sách hai chiều được thể hiện như thế nào?
[1, 2, 3], [4, 5, 6]
[[1, 2, 3], [4, 5, 6]]
(1, 2, 3), (4, 5, 6)
{1, 2, 3}, {4, 5, 6}
2.
MULTIPLE CHOICE QUESTION
5 mins • 4 pts
Làm thế nào để truy cập phần tử ở hàng thứ 2, cột thứ 3 trong một danh sách hai chiều có tên là matrix?
matrix[2][3]
matrix[1][2]
matrix[3][2]
matrix[2][1]
3.
MULTIPLE CHOICE QUESTION
5 mins • 4 pts
1
2
4
6
4.
MULTIPLE CHOICE QUESTION
5 mins • 4 pts
Làm thế nào để thêm một hàng mới vào danh sách hai chiều matrix trong Python?
matrix.add_row([1, 2, 3])
matrix.extend([1, 2, 3])
matrix.append_row([1, 2, 3])
matrix.append([1, 2, 3])
5.
MULTIPLE CHOICE QUESTION
5 mins • 4 pts
Nếu matrix là một danh sách hai chiều có kích thước 3x3, thì đoạn mã nào dưới đây sẽ tạo ra một danh sách hai chiều mới với các phần tử được đảo ngược theo hàng và cột?
reversed_matrix = [[matrix[i][j] for j in range(3)] for i in range(3)]
reversed_matrix = [[matrix[j][i] for j in range(3)] for i in range(3)]
reversed_matrix = [[matrix[i][j] for i in range(3)] for j in range(3)]
reversed_matrix = [[matrix[j][i] for i in range(3)] for j in range(3)]
6.
MULTIPLE CHOICE QUESTION
5 mins • 4 pts
Trong thuật toán tìm kiếm tuần tự để tìm một số trong dãy thẻ số, sau bước Kiểm tra: Số thẻ có đúng là số cần tìm không? Mà nhận được kết quả Đúng thì ta sẽ thực hiện bước nào?
Kiểm tra: Số thẻ có đúng là số cần tìm không?
Kiểm tra: tất cả các thẻ số đã được lật?
Đầu ra: thông báo vị trí tìm thấy.
Kết thúc.
7.
MULTIPLE CHOICE QUESTION
5 mins • 4 pts
Để tìm kiếm một số trong dãy số bằng thuật toán tìm kiếm tuần tự, ta thực hiện:
Lấy ngẫu nhiên một số trong dãy số để so sánh với số cần tìm.
So sánh lần lượt các số có trong dãy số với số cần tìm.
Sếp xếp dãy số theo thứ tự tăng dần.
So sánh số cần tìm với số ở giữa dãy số.
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
25 questions
Chủ đề: Ms powerpoint
Quiz
•
2nd Grade - Professio...
20 questions
Ôn tập Tin học 5 HK I
Quiz
•
5th Grade - University
20 questions
kiểm tra tin học 6a
Quiz
•
9th Grade - University
20 questions
TỰ LUẬN TIN 6
Quiz
•
11th Grade
20 questions
Kiến thức về phần mềm soạn thảo
Quiz
•
6th Grade - University
20 questions
T8 - ÔN TẬP KTTX LẦN 2 - HK2 (22-23)
Quiz
•
9th - 12th Grade
20 questions
Thực hành Cơ Sở Dữ Liệu
Quiz
•
11th Grade
20 questions
TIN 9 - ÔN TẬP GHKI
Quiz
•
9th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
