Ôn tập python2
Quiz
•
Instructional Technology
•
10th Grade
•
Practice Problem
•
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
Already have an account?
Similar Resources on Wayground
35 questions
Kuis Prakarya Awetan Hewani kelas X MIPA
Quiz
•
10th Grade
26 questions
Information Systems and Resources
Quiz
•
10th - 12th Grade
27 questions
EXAMEN Tema 2: Materiales
Quiz
•
10th Grade
30 questions
CN10 _ HK1 _ OT _ KT giữa HK1_30c
Quiz
•
10th Grade
30 questions
PTS Genap Kelas 9
Quiz
•
3rd Grade - Professio...
35 questions
G-SUITE
Quiz
•
5th - 12th Grade
30 questions
MID INFOMATIKA KELAS 7
Quiz
•
7th Grade - University
26 questions
Периферийные устройства
Quiz
•
10th Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Instructional Technology
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
25 questions
Preterito regular
Quiz
•
10th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
10 questions
hands washing
Quiz
•
5th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
