Mã lỗi ngoại lệ của lệnh sau là float(“2 + 3”)

tin29

Quiz
•
Other
•
10th Grade
•
Easy
9a10-Phạm Thành Thái undefined
Used 7+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Wayground
19 questions
Vic-K10-Ôn tập-CHK2-1

Quiz
•
10th Grade
20 questions
Kiểm tra kiến thức Bài 28 Tin 10

Quiz
•
10th Grade
20 questions
Kiểm tra đánh giá

Quiz
•
10th Grade
15 questions
ôn tin học k2 lớp 4

Quiz
•
4th Grade - University
21 questions
Trắc nghiệm tin 10 - Exam B

Quiz
•
10th Grade
20 questions
KIỂM TRA TX LỚP 10 _PYTHON

Quiz
•
10th Grade
21 questions
Bài 16 Vẽ kĩ thuật với sự trợ giúp của máy tính

Quiz
•
10th Grade
16 questions
Bài 28

Quiz
•
10th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade