
tin
Quiz
•
Others
•
10th Grade
•
Medium
Quỳnh Như
Used 1+ times
FREE Resource
Enhance your content
43 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Đoạn lệnh sau làm nhiệm vụ gì? A = [] for x in range(10): append(int(input()))
Nhập dữ liệu từ bàn phím cho mảng A có 10 phần tử là số nguyên.
Nhập dữ liệu từ bàn phím cho mảng A có 10 phần tử là số thực.
Nhập dữ liệu từ bàn phím cho mảng A có 10 phần tử là xâu.
Không có đáp án đúng.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Chọn phát biểu đúng khi nói về dữ liệu kiểu mảng(List) trong python.
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.
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.
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.
Tất cả ý trên đều sai.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. Cách khai báo biến mảng sau đây, cách nào sai?
ls = [1, 2, 3]
ls = [x for x in range(3)]
ls = [int(x) for x in input().split()]
ls = list(3).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. 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[2]).
print(A[1]).
print(A[3]).
print(A[0]).
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. 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?
print(list(reversed(i))).
print(list(reverse(i))).
print(reversed(i)).
print(reversed(i)).
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Toán tử nào dùng để kiểm tra một giá trị có nằm trong danh sách không?
in.
int.
range.
append.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Kết quả của 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.
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
41 questions
Untitled Quiz
Quiz
•
10th Grade
42 questions
Lịch Sử 10a3
Quiz
•
10th Grade
40 questions
Câu hỏi về phương pháp địa lý
Quiz
•
10th Grade
40 questions
thi địa
Quiz
•
10th Grade
39 questions
trắc nghiệm sinh
Quiz
•
10th Grade
38 questions
Héc-to từ biệt Ăng-đrô-mác
Quiz
•
10th Grade
44 questions
Donate cho tôi để tôi hết làm culi của TLam
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Others
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry
Quiz
•
10th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade