
tin cuối hk2

Quiz
•
Arts
•
10th Grade
•
Medium
Tony Vinh
Used 4+ times
FREE Resource
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thêm phần tử vào cuối danh sách ta dùng hàm nào?
append()
pop()
clear()
remove()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây xóa toàn bộ danh sách?
clear()
exit()
remove()
del()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả khi thực hiện chương trình sau?
>>> A = [1, 2, 3, 5]
>>> A. insert(2, 4)
>>> print(A)
1,2,3,4.
1,2,3,4,5.
1,2,4,3,5.
1,2,4,5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu "1234%^^%TFRESDRG" có độ dài bằng bao nhiêu?
16
15
17
18
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau có lỗi thuộc loại nào?
123ab = {1,2,3)
print(123ab)
Lỗi cú pháp
Lỗi ngoại lệ
Lỗi khác
Không có lỗi
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử chương trình có lệnh nhập dữ liệu sau:
n = int(input("Nhập số nguyên n: "))
Khi chúng ta nhập 1.5 thì chương trình có lỗi ngoại lệ nào?
SyntaxError.
TypeError.
ValueError.
IndexError.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi dòng lệnh thụt vào không thẳng hàng chương trình đưa ra mã lỗi ngoại lệ nào?
ZeroDivisionError.
IndentationError.
TypeError.
SyntaxError.
Create a free account and access millions of resources
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Arts
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University