Bài 29. Nhận biết lỗi chương trình - Tin học 10
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Hard
Dangthingoc Im
Used 16+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn phát biểu sai trong các phát biểu sau:
Có thể phân biệt lỗi chương trình Python làm 3 loại
Khi có lỗi sai cú pháp, chương trình lập tức dừng và thông báo lỗi
Lỗi ngoại lệ là lỗi không thể thực hiện một lệnh trong chương trình
Cách xử lí các loại lỗi giống nhau
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền vào “…” hoàn thành phát biểu sau:
“Chương trình chạy không lỗi ngoại lệ nhưng kết quả đưa ra …. Đây là lỗi … bên trong chương trình.”
sai, lôgic.
đúng, Syntax Error.
đúng, lôgic.
sai, ngoại lệ.
3.
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì?
A= [10, 20, 30, 40]
print(A[6])
NameError
SyntaxError
ValueError
IndexError
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dòng lệnh sau bị lỗi gì?
>> >A = [1, 2]
>>>A[0.5]
Lỗi lôgic
Lỗi ngoại lệ
Lỗi cú pháp
Không có lỗi
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi nào được đưa ra khi lệnh gọi một hàm nhưng không có hàm đó?
ZeroDivisionError
TypeError
IndentationError
NameError
7.
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
8.
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
9.
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
Similar Resources on Wayground
10 questions
Đặc điểm của văn bản nghị luận
Quiz
•
7th Grade - University
10 questions
Bài 2 Tiền tệ
Quiz
•
11th Grade
10 questions
Arduino - Exercise 1 Blink
Quiz
•
10th - 11th Grade
10 questions
Livestock Safety
Quiz
•
9th - 12th Grade
14 questions
Ôn tập kỳ I lớp 4 0405
Quiz
•
3rd Grade - University
10 questions
IT: Technical/Computer Terms Quiz #40
Quiz
•
11th Grade - University
10 questions
Bài KTTX số 1 - Tin học 11
Quiz
•
11th Grade
12 questions
Academic Language
Quiz
•
KG - University
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
Discover more resources for Other
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Thanksgiving Trivia
Quiz
•
11th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
