Ôn tập python2
Quiz
•
Instructional Technology
•
10th Grade
•
Medium
Huynh Ngan
Used 8+ times
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Cho danh sách: A = [5, 2, 3, 8]
Để in phần tử có giá trị 8, câu lệnh nào sau đây đúng?
print(a[0])
print(a[-1])
print(a[4])
print(a[-3])
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Cho danh sách: A1 = [1,2,3,4]
A2 = [5,6,7,8]
hãy cho biết kết quả của câu lệnh sau: print(A1 + A2)
[1,2,3,4,5,6,7,8]
[5,6,7,8,1,2,3,4]
[1,2,3,4,[5,6,7,8]]
Báo lỗi
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Cho danh sách A= [1,2,3,4,5]
A.extend([7,8])
Hãy cho biết kết quả của câu lệnh print(A)
[1, 2, 3, 4, 5, 7, 8]
[1, 2, 3, 4, 5, [7, 8]]
[7,8,1,2,3,4,5]
[[7,8],1,2,3,4,5]
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Cho danh sách A= [1,2,3,4,5]
A.append([7,8])
Hãy cho biết kết quả của câu lệnh print(A)
[1, 2, 3, 4, 5, 7, 8]
[1, 2, 3, 4, 5, [7, 8]]
[7,8,1,2,3,4,5]
[[7,8],1,2,3,4,5]
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Hãy cho biết kết quả thực hiện của đoạn chương trình trên:
x= 5
A= [1, 2, 3, 4]
x= 5
A= [1, 2, 3, 4, 5]
x= 1
A= [ 2, 3, 4, 5]
x = 0
A= [1, 2, 3, 4, ]
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Hãy cho biết kết quả thực hiện của đoạn chương trình sau:
A= [1,2,3,4,5]
B= A[1:3]
print(B)
[2, 3]
[2,3,4]
[1,2]
Báo lỗi
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Hãy cho biết kết quả thực hiện của đoạn chương trình sau:
A= [1,2,3,4,5]
B= A[:3]
print(B)
[1, 2, 3]
[1,2,3,4]
[1]
Báo lỗi
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
35 questions
AI QUIZ (CLASS 10)
Quiz
•
10th Grade - University
27 questions
Crocodile clip
Quiz
•
10th Grade
30 questions
EDICIÓN DE VÍDEOS
Quiz
•
KG - 12th Grade
30 questions
Bilgisayar Bilimi 21-22 II. Dönem 1.yazılı hazırlığı
Quiz
•
9th Grade - University
30 questions
LIÊN KẾT BẢNG
Quiz
•
1st - 12th Grade
34 questions
Economia
Quiz
•
1st - 12th Grade
30 questions
Graphical Mock Exam
Quiz
•
10th - 11th Grade
30 questions
Concrete Test
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Instructional Technology
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Translations, Reflections & Rotations
Quiz
•
8th - 10th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
20 questions
Simplifying Radicals
Quiz
•
10th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
