Kết quả sau khi thực hiện đoạn chương trình sau là gì?
x = []
x.append(1)
x.append(5)
print(x)
Ôn tập giữa HK2 - Tin 11
Quiz
•
Computers
•
11th Grade
•
Medium
Tâm Vũ
Used 12+ times
FREE Resource
42 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả sau khi thực hiện đoạn chương trình sau là gì?
x = []
x.append(1)
x.append(5)
print(x)
[]
1, 5
[1, 5]
1 5
2.
MULTIPLE CHOICE QUESTION
30 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]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = ['PCT', 11, 'TIN']
len(a) cho kết quả là:
8
7
3
9
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Cho biết kết quả hiển thị ra màn hình sau khi máy chạy khối lệnh python sau:
L=[1,10,-5]
L. append(9)
print(max(L))
1
10
-5
9
5.
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>]
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
Kết quả sau khi thực hiện đoạn chương trình sau là gì?
x=[1]
y= x
x = x + [2]
Print(x, y)
[1,2] [1]
[1,2]
[3,1]
[1,2,1]
46 questions
BAI ON KHOI 5
Quiz
•
1st Grade - University
41 questions
L10 - ÔN TẬP KIỂM TRA GIỮA KỲ 1
Quiz
•
10th Grade - University
42 questions
Tin học 11
Quiz
•
11th Grade - University
37 questions
Tinnn
Quiz
•
11th Grade
46 questions
TIN HOC LƠP 4 HK1
Quiz
•
1st Grade - University
40 questions
Tinc3
Quiz
•
10th Grade - University
42 questions
ÔN TẬP GIỮA KỲ TIN HỌC LỚP 10
Quiz
•
9th - 12th Grade
40 questions
Ôn Tập HK2 - Môn Tin Học 5
Quiz
•
5th Grade - University
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
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