
Câu hỏi về danh sách trong Python
Authored by Sang Nguyễn
Computers
10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết kích thước của danh sách ta dùng hàm:
type()
len()
sort()
pop()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách b có 5 phần tử 1, 2, 3, 4, 5 ta dùng viết:
b = 1, 2, 3, 4, 5
b = (1, 2, 3, 4, 5)
b = [1..5]
b = [1, 2, 3, 4, 5]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gọi đến phần tử đầu tiên trong danh sách a ta dùng lệnh:
a[1]
a[0]
b[0]
a[]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho mảng a=[0,2,4,6]. Phần tử a[1]=?
0
2
4
6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách a là một danh sách rỗng ta viết:
a=''
a=[]
a=[0]
a=""
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em hãy cho biết kết quả trả về đúng khi thực hiện bài toán trên:
1 2
3 5
4 6
5 7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
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
10 questions
Kiểm Tra Tin 8
Quiz
•
8th Grade - University
10 questions
TIN HỌC 10 - BÀI 7
Quiz
•
10th Grade
10 questions
Ứng xử trong môi trường số
Quiz
•
10th Grade
10 questions
TEST Bài 3_K12_Sách KNTT
Quiz
•
12th Grade
10 questions
Những bộ phận chính trong máy tính
Quiz
•
11th Grade
10 questions
WORD ĐỀ 6
Quiz
•
University
10 questions
Bài tập trắc nghiệm chủ đề 4
Quiz
•
10th Grade
12 questions
Aptech IT Tour 12/07/2024
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade