
ÔN TẬP GIỮA KÌ 2 (1)
Authored by Sen Hà
Computers
10th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Trong Python, câu lệnh nào sau đây được viết đúng?
s = “Trường THPT Nguyễn Văn Huyên”
for i in range(len(s)); print(i)
for i in range(len(s)): print(s[i])
for i in range(len(s)): print(len(s))
for i in range(len(s)) print(s=)
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Muốn nối danh sách gồm các từ thành một xâu ta dùng lệnh nào?
Lệnh join()
Lệnh split()
Lệnh len()
Lệnh find()
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho biết kết quả của đoạn chương trình dưới đây:
a = 10
while a < 11:
print(a)
Trên màn hình xuất hiện một số 10.
Trên màn hình xuất hiện 10 chữ a.
Trên màn hình xuất hiện một số 11.
Chương trình bị lặp vô tận.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Em hãy cho biết kết quả sau khi thực hiện các lệnh sau:
m =2
while m < 10:
print(m,end= “ ”)
m = m + 2
2 4 6 8
2 4 6 8 10
0 2 4 6 8 10
3 5 7 9
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phát biểu nào sai về kiểu dữ liệu danh sách?
Kiểu dữ liệu danh sách là kiểu dữ liệu gồm một dãy các giá trị
Các phần tử trong kiểu dữ liệu danh sách phải cùng kiểu dữ liệu
Chỉ số của các phần tử trong kiểu dữ liệu danh sách bắt đầu từ 0
Kiểu dữ liệu danh sách cho phép thay đổi từng giá trị của từng phần tử bằng lệnh gán.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Phát biểu nào sau đây là sai?
Sau khi thực hiện lệnh clear(), danh sách gốc trở thành rỗng.
Lệnh remove () có chức năng xoá một phần tử có giá trị cho trước.
Lệnh remove() xoá tất cả các phần tử có giá trị cho trước trong list.
Clear() có tác dụng xoá toàn bộ các danh sách.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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.
Access all questions and much more by creating a free account
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
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
15 questions
Chỉnh sửa VB và tạo bảng
Quiz
•
6th Grade - University
14 questions
KT HKI TIN 4
Quiz
•
3rd Grade - University
12 questions
Ôn tập Khối 11
Quiz
•
10th Grade
10 questions
Trắc nghiệm: Bài 16-Ngôn ngữ lập trình bậc cao và Python
Quiz
•
10th Grade
12 questions
Hiểu biết về công nghệ thông tin cơ bản
Quiz
•
8th Grade - University
10 questions
Cấu trúc lặp - Python
Quiz
•
9th - 12th Grade
10 questions
Ứng xử trong môi trường số
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade