Cú pháp khởi tạo danh sách list là
LIST - 1 - PYTHON 11

Quiz
•
Computers
•
11th Grade
•
Medium
Nguyễn Hữu Hiền Tài
Used 27+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [1, 2, …, N]
<Tên danh sách> = [<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>]
[Tên danh sách] = [<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>]
<Tên danh sách> = (<Giá trị 1>, <Giá trị 2>, …, <Giá trị N>)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh khởi tạo list nào sau đây đúng cú pháp
a = [1, 2, 3, 4, 5]
a = (1, 2, 3, 4, 5)
<a> = [1, 2, 3, 4, 5]
<a> = [<1>, <2>, <3>, <4>, <5>]
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Đâu là lệnh truy xuất đến phần tử thứ i của list a
a(i)
a{i}
ai
a[i]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [1,2,3,4,5]
a[1] có giá trị là
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho a = [1,2,3,4,5]
Lệnh len(a) cho giá trị là bao nhiêu?
1
3
4
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [1,2,3,4,5]
b = ['a','b','c','d','e']
c = a + b
giá trị của c là
1,2,3,4,5,'a','b','c','d','e'
[1,'a',2,'b',3,'c',4,'d',5,'e']
[1,2,3,4,5]['a','b','c','d','e']
[1,2,3,4,5,'a','b','c','d','e']
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = ['PCT', 11, 'TIN']
len(a) cho kết quả là:
8
7
3
9
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Trắc nghiệm xâu

Quiz
•
9th - 12th Grade
6 questions
Nhanh như chớp

Quiz
•
9th - 12th Grade
15 questions
Bài 6 Câu lệnh rẽ nhánh

Quiz
•
10th Grade - University
10 questions
k10 - bài 17

Quiz
•
11th Grade
10 questions
Kiểm tra 15 phút Tin học 10 - DA - Bài 26,27,28

Quiz
•
10th Grade - University
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN

Quiz
•
11th Grade
12 questions
tin Nhu

Quiz
•
11th Grade
14 questions
Bài 17: Biến và lệnh gán

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade