
tin học
Quiz
•
Architecture
•
2nd Grade
•
Practice Problem
•
Easy
Hồ Yến
Used 4+ times
FREE Resource
Enhance your content in a minute
39 questions
Show all answers
1.
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]
a0
a[]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cho danh sách a=[0,2,4,6]. phần tử [1]=?
0
2
4
6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
để thêm phần tử vào cuối danh sách ta dùng hàm:
append()
pop()
insert()
sort()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
để xóa phần tử thứ i vào cuối danh sách và đưa ra phần tử này, ta gọi hàm:
append(i)
insert(i)
pop(i)
sort(i)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cho đoạn chương trình:
a=[1,2,3]
a.append(4)
print(a)
sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:
a=[4,1,2,3]
a=[1,2,3]
a=[1,2,3,4]
a=[1,4,2,3]
6.
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]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
cho đoạn chương trình:
a=[1,2,3]
a.insert(0,2)
print(a)
sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:
a=[0,1,2,3]
a=[2,3]
a=[2,1,2,3]
a=[1,2,3,2]
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?
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Architecture
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
8 questions
Predictions
Quiz
•
2nd - 4th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
18 questions
Thanksgiving 2nd Grade
Quiz
•
2nd Grade
10 questions
Charlie Brown's Thanksgiving Adventures
Interactive video
•
2nd - 5th Grade
