
Đề Cương Cuối Kỳ 2 - Tin 10
Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Son Mups
Used 3+ times
FREE Resource
Enhance your content
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1. Cho danh sách A như sau: A = [1,2,3,4,5,6,7] Để in giá trị phần tử thứ 2 của danh sách A ra màn hình ta viết:
print(A[2]).
print(A[1]).
print(A[3]).
print(A[0]).
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Để khai báo một danh sách rỗng ta dùng cú pháp sau
< tên danh sách > ==[].
< tên danh sách > = 0.
< tên danh sách > = [].
< tên danh sách > = [0].
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Để xóa 2 phần tử ở vị trí 1 và 2 trong danh sách a hiện tại ta dùng lệnh nào?
del a[1:2].
del a[0:2].
del a[0:3].
del a[1:3].
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4. Danh sách A sẽ như thế nào sau các lệnh sau? >>> A = [2, 3, 5, 6] >>> A. append(4) >>> del (A[2])
2, 3, 4, 5, 6, 4.
2, 3, 4, 5, 6.
2, 4, 5, 6.
2, 3, 6, 4.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: Nếu S = "1234567890" thì S[0:4] là gì?
"123".
"0123".
"01234".
"1234".
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Chương trình trên giải quyết bài toán gì? s = "" for i in range(10): s = s + str(i) print(s)
In một chuỗi kí tự từ 0 tới 10.
In một chuỗi kí tự từ 0 tới 9.
In một chuỗi kí tự từ 1 tới 10.
In một chuỗi kí tự từ 1 đến 9.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Sử dụng câu lệnh nào sau đây để duyệt từng kí tự theo phần tử của xâu S:
for i in S: print(i, end =" ")
for i in range(len(S)) : print(S[i], end =" ")
for i in S: print(S[i], end =" ")
for i in range(len(S)): print(i, end =" ")
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
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
17 questions
Afro Latinos: Una Historia Breve Examen
Quiz
•
9th - 12th Grade
17 questions
Hispanic Heritage Month Trivia
Quiz
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade