
Nhận Biết Lỗi Chương Trình
Quiz
•
Others
•
Professional Development
•
Easy
Trùng Dương Đặng
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi ngoại lệ của lệnh sau là float("2 + 3")
IndexError.
TypeError.
ValueError.
SyntaxError.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì? for i in range(10) print(i)
Type Error.
NameError.
SyntaxError.
ValueError.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi ngoại lệ của lệnh sau là s = "12" + 12
ZeroDivisionError.
TypeError.
IndentationError.
SyntaxError.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi nào được đưa ra khi lệnh thực hiện phép chia cho giá trị 0
ZeroDivisionError.
TypeError.
ValueError.
SyntaxError.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong lời gọi hàm, nếu các đối số được truyền vào hàm bị thiếu thì lỗi ngoại lệ phát sinh thuộc loại nào dưới đây?
SyntaxError.
NameError.
TypeError.
Không phát sinh lỗi ngoại lệ.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
IndentationError là lỗi ngoại lệ như thế nào?
Lỗi liên quan đến giá trị của đối tượng.
Lỗi khi các dòng lệnh thụt vào không thằng hàng hoặc không đúng vị trí.
Lệnh tính biểu thức số nhưng lại có một toán hạng không phải là số.
Lỗi cú pháp.
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.
TypeError.
IndentationError.
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
20 questions
07 PL38 Dinh gia - Thin - Bo cau hoi_P1
Quiz
•
Professional Development
20 questions
Quiz về Tham số và Hàm
Quiz
•
Professional Development
16 questions
Kiến thức về văn minh Đại Việt
Quiz
•
Professional Development
15 questions
Understanding AI and Algorithms
Quiz
•
Professional Development
20 questions
17. mở rộng
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Others
10 questions
How to Email your Teacher
Quiz
•
Professional Development
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
20 questions
Context Clues: Multiple Meaning Words
Quiz
•
Professional Development
18 questions
Do or Does
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...
