
Đề Cương Cuối Kỳ 2 - Tin 10

Quiz
•
Information Technology (IT)
•
10th Grade
•
Medium
Son Mups
Used 3+ times
FREE Resource
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
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
21 questions
Lab Safety

Quiz
•
10th Grade
13 questions
8th - Unit 1 Lesson 3

Quiz
•
9th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade