
B23.1-Tin10
Quiz
•
Instructional Technology
•
12th Grade
•
Hard
TRUC Ng
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Lệnh nào để xóa toàn bộ dữ liệu của danh sách A
A.append(x)
A.insert(k,x)
A.clear()
A.remove(x)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2. Cho đoạn chương trình: A=[8,7,4,11,35] for k in A: print(k, end=' ') Khi thực hiện đoạn chương trình trên biến k sẽ lần lượt nhận các giá trị nào từ dãy A.
0,1,2,3,4
8,7,4,11,35
1,2,3,4,5
35,11,4,7,8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. Muốn thêm phần tử 10 vào cuối danh sách B ta dùng lệnh nào sau đây?
B.append(10)
B.clear(10)
B.remove(10)
B.insert(1,10)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Cho các lệnh: A=[7,1,2,4,8] A.insert(3,6) Sau khi thực hiện dãy lệnh trên ta nhận được kết quả nào sau đây?
[7,1,2,6,4,8]
[7,1,6,2,4,8]
[7,6,1,2,4,8]
[7,1,2,4,6,8]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5. Cho đoạn chương trình sau:
A=[1, 15, -9, 20, -99,100,120,7,10]
B=[]
For i in A:
If i>1 and i<15:
B.append(i)
Print(B)
Sau khi thực hiện đoạn chương trình trên, dãy B có bao nhiêu phần tử?
1
2
5
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Câu lệnh nào sau đây dùng để in ra n dấu * viết liền nhau
n=int(input());
print(n*"*")
n=int(input()) print(n*"*")
n=input() print(n*"*")
n=int(input()) print(n**) n=input() print(n***)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Cho danh sách A=[4,7,8,6,7]. Kết quả sau khi gọi lệnh A.remove(8) là?
[4,7,8,7]
[]
[7,8,6,7]
[4,7,6,7]
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
10 questions
27.3-Tin10
Quiz
•
12th Grade
10 questions
B18.2-Tin10
Quiz
•
12th Grade
10 questions
Bai 2 - Tin 7
Quiz
•
1st - 12th Grade
10 questions
kiem tra hoc ky
Quiz
•
11th - 12th Grade
10 questions
B16.1-Tin10
Quiz
•
12th Grade
10 questions
Ngữ văn 6
Quiz
•
6th Grade - University
10 questions
CÂU LỆNH FOR - DO
Quiz
•
12th Grade
10 questions
KTBC CÔNG NGHỆ 11
Quiz
•
5th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade