
Kiểm tra cuối kì 2 - 10 - 11 - Python
Quiz
•
Computers
•
1st Grade
•
Practice Problem
•
Medium
Thu Hoang
Used 9+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 1. Cách khai báo biến mảng sau đây, cách nào sai?
A. ls = [1, 2, 3]
B. ls = [x for x in range(3)]
C. ls = [int(x) for x in input().split()]
D. ls = list(3).
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 2. 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:
A. print(A[2]).
B. print(A[1]).
C. print(A[3]).
D. print(A[0]).
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 3. Giả sử có một list: i = [2, 3, 4]. Nếu muốn in list này theo thứ tự ngược lại ta nên sử dụng phương pháp nào sau đây?
A. print(list(reversed(i))).
B. print(list(reverse(i))).
C. print(reversed(i)).
D. print(reversed(i)).
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 4. Chọn phát biểu đúng khi nói về dữ liệu kiểu danh sách(List) trong python.
A. Dữ liệu kiểu mảng là tập hợp các phần tử không có thứ tự và mọi phần tử có cùng một kiểu dữ liệu.
B. Dữ liệu kiểu mảng là tập hợp các phần tử có thứ tự và mỗi một phần tử trong mảng có thể có các kiểu dữ liệu khác nhau.
C. Dữ liệu kiểu mảng là tập hợp các phần tử có thứ tự và mọi phần tử phải có cùng một kiểu dữ liệu.
D. Tất cả ý trên đều sai.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 5. Đối tượng dưới đây thuộc kiểu dữ liệu nào?
A = [1, 2, ‘3’]
A. list.
B. int.
C. float.
D. string.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 6. Phương thức nào sau đây dùng để thêm phần tử vào list trong python?
A. abs().
B. link().
C. append().
D. add().
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu 7. Danh sách A sẽ như thế nào sau các lệnh sau?
>>> A = [2, 3, 5, 6]
>>> A. append(4)
>>> del (A[2])
A. 2, 3, 4, 5, 6, 4.
B. 2, 3, 4, 5, 6.
C. 2, 4, 5, 6.
D. 2, 3, 6, 4.
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
40 questions
動健康40問
Quiz
•
1st - 5th Grade
35 questions
MINH ÔN TẬP TIN HỌC LỚP 3
Quiz
•
1st - 12th Grade
40 questions
Histoire d'Internet et du Web
Quiz
•
1st Grade
36 questions
Bài 9 - Thực hành với tệp và thư mục trong máy tính
Quiz
•
1st - 5th Grade
35 questions
Ôn tập cuối kì I - Tin học 3 - Cánh diều
Quiz
•
1st - 5th Grade
40 questions
PENGANTAR TEKNOLOGI INFORMASI
Quiz
•
1st Grade
40 questions
Teknologi Layanan Jaringan - Test 1
Quiz
•
1st Grade
43 questions
Тест "Компьютерная грамотность"
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
6 questions
President's Day
Lesson
•
1st Grade
10 questions
Identifying Physical and Chemical Changes
Interactive video
•
1st - 5th Grade
7 questions
Lunar and Chinese New Year for Kids | Bedtime History
Interactive video
•
1st - 12th Grade
10 questions
Presidents Day
Interactive video
•
1st - 5th Grade
15 questions
Making Inferences
Quiz
•
1st - 3rd Grade
