
tin
Quiz
•
Others
•
10th Grade
•
Practice Problem
•
Medium
Quỳnh Như
Used 1+ times
FREE Resource
Enhance your content in a minute
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
39 questions
Sử 15’
Quiz
•
10th Grade
39 questions
công nghệ
Quiz
•
10th Grade
40 questions
Kiến Thức Phòng Không Nhân Dân
Quiz
•
10th Grade
45 questions
Câu hỏi Vật Lý Cơ Bản
Quiz
•
10th Grade
44 questions
Địa
Quiz
•
10th Grade
40 questions
địa
Quiz
•
10th Grade
42 questions
Quiz về Hiến pháp 2013
Quiz
•
10th Grade
38 questions
Adudu
Quiz
•
10th 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
Discover more resources for Others
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
Understanding Protein Synthesis
Interactive video
•
7th - 10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
