
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
Already have an account?
Similar Resources on Wayground
43 questions
địa lý
Quiz
•
10th Grade
47 questions
Ôn tập kiểm tra sử 10 giữa HKII
Quiz
•
10th Grade
40 questions
lịch sử 12a12 đề 1
Quiz
•
9th - 12th Grade
43 questions
Sử bài 7
Quiz
•
9th - 12th Grade
45 questions
Ôn Tập Kiến Thức TX3
Quiz
•
10th Grade
38 questions
Sinh Học 11 cuối kì II
Quiz
•
10th Grade
43 questions
duoc ly 2
Quiz
•
9th - 12th Grade
48 questions
Đề Cương Thi Địa Lí 10
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Others
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
10 questions
Guess the Christmas Movie by the Scene Challenge
Interactive video
•
6th - 10th Grade
