
ÔN TẬP GKII (3)

Quiz
•
Computers
•
10th Grade
•
Hard
Thùy Dương
Used 5+ times
FREE Resource
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'
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
hoạt động khởi động _ bài 26 - Hàm trong Python

Quiz
•
10th Grade
10 questions
Bài 24-Xâu kí tự

Quiz
•
10th Grade
15 questions
kiểm tra lớp 5

Quiz
•
1st - 12th Grade
20 questions
Kiểm tra kiến thức về Python

Quiz
•
10th Grade
17 questions
ÔN TẬP CUỐI KỲ II TIN 8

Quiz
•
8th - 11th Grade
12 questions
Câu hỏi tập bài biến và lệnh gán

Quiz
•
10th Grade
20 questions
2324TX5

Quiz
•
9th - 12th Grade
10 questions
Xâu kí tự

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade