LIST - 1 - PYTHON 11
Quiz
•
Computers
•
11th Grade
•
Medium
Nguyễn Hữu Hiền Tài
Used 27+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp khởi tạo danh sách list là
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
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
14 questions
Linux: Users and Groups
Quiz
•
9th Grade - University
10 questions
Les variables sous Python
Quiz
•
10th - 12th Grade
10 questions
2AB. ITIC-Representación Interna de Datos
Quiz
•
10th - 11th Grade
10 questions
Empowerment Technologies Quiz 2
Quiz
•
11th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
12 questions
Examen final algoritmo
Quiz
•
11th Grade
14 questions
Relational Databases 1
Quiz
•
11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
