
ÔN TẬP GKII (3)
Authored by Thùy Dương
Computers
10th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây xoá toàn bộ danh sách A?
A.exit()
A.remove()
A.del()
A.clear()
2.
MULTIPLE CHOICE QUESTION
30 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 danh sách
Clear() có tác dụng xoá toàn bộ các danh sách.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phần tử thứ bao nhiêu trong danh sách A bị xoá?
>>> A = [10, 20, 3, 30, 20, 30, 20, 6, 3, 2, 8, 9]
>>> A.remove(3)
10
9
8
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình:
>>> a=[1,2,3]
>>> a.append(4)
>>> print(a)
Sau khi thực hiện đoạn chương trình trên thì danh sách a có các phần tử:
[4,1,2,3]
[1,2,3]
[1,2,3,4]
[1,4,2,3]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng bao nhiêu?
0
1
2
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, câu lệnh nào dùng để tính độ dài của xâu s?
len(s)
length
s.len()
s. length()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau cho kết quả là bao nhiêu?
name = "Codelearn"
print(name[0])
'C'
'o'
'c'
'Codelearn'
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
10 questions
Đố vui 2
Quiz
•
8th Grade - Professio...
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
11 questions
Ôn tập Lớp 3
Quiz
•
4th - 12th Grade
10 questions
Soal Ujian Komputer
Quiz
•
10th - 12th Grade
15 questions
Basics in Java
Quiz
•
9th - 12th Grade
17 questions
Kiến thức về trang tính
Quiz
•
7th Grade - University
10 questions
Truy tìm Anh tài ( Bài 2 Tin 4)
Quiz
•
4th Grade - University
10 questions
CỦNG CỐ KIẾN THỨC BÀI 2 - TIN HỌC 12
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade