
tin cuối hk2
Quiz
•
Arts
•
10th Grade
•
Practice Problem
•
Medium
Tony Vinh
Used 4+ times
FREE Resource
Enhance your content in a minute
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
45 questions
P5 9. Alat dan Teknik Pahat
Quiz
•
9th Grade - University
50 questions
trafo
Quiz
•
1st Grade - University
50 questions
Art 1 Final Exam Review - 1st Semester
Quiz
•
9th - 12th Grade
50 questions
Ôn tập lịch sử 8
Quiz
•
1st - 12th Grade
45 questions
Ssuw
Quiz
•
10th Grade
50 questions
Bài Quiz không có tiêu đề
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
