
Kiểm tra cuối kì 2 - 10 - 11 - Python
Authored by Thu Hoang
Computers
1st Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
java
Quiz
•
1st - 3rd Grade
40 questions
Socrathecs 2
Quiz
•
1st - 12th Grade
40 questions
LATIHAN SOAL SIMDIG
Quiz
•
1st - 3rd Grade
38 questions
Quiz 1 - Basis Data
Quiz
•
1st Grade
40 questions
Test Placa Bases, Memorias y HD
Quiz
•
1st Grade
40 questions
MS office 2016
Quiz
•
1st Grade - Professio...
42 questions
Ôn tập HKI Công nghệ 4
Quiz
•
1st - 5th Grade
40 questions
Latihan Soal
Quiz
•
1st Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Heating / Cooling Matter
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Counting Coins
Quiz
•
1st Grade
10 questions
Identifying Points, Lines, Rays, and Angles
Interactive video
•
1st - 5th Grade
5 questions
Heating and Cooling Pre-Assessment
Quiz
•
1st Grade
20 questions
VOWEL TEAMS: AI and AY
Quiz
•
1st Grade