
Bài 29
Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
khanh cao
FREE Resource
15 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 ba 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
Số phát biểu đúng trong cac phát biểu sau là:
Chương trình chạy khi lỗi lôgic xảy ra
Khi có lỗi sai cấu trúc ngôn ngữ, chương trình vẫn chạy.
Khi có lỗi ngoại lệ, chương trình dừng và thông báo lỗi.
Mã lỗi ngoại lệ trả lại gọi là mã lỗi ngoại lệ.
3.
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ệ.
4.
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.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì? n = 5 for i in range(n): prin(t)
Type Error.
NameError.
SyntaxError.
ValueError.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì? >>>n = int(input("Nhập n: ")) >>>Nhập n: a
Type Error.
NameError.
SyntaxError.
ValueError.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì? lst = [1, 2, 3, 4, 5] for i in range(10): print(lst[i])
IndexError.
NameError.
SyntaxError.
ValueError.
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
15 questions
Use Cases and Domain Classes
Quiz
•
University
20 questions
Kuis Data Science Pertemuan 3
Quiz
•
University
10 questions
Câu hỏi về khái quát các cuộc CMCN trên thế giới
Quiz
•
University
18 questions
Python Library Routines Quiz
Quiz
•
10th Grade - University
12 questions
Review loops
Quiz
•
8th Grade - University
10 questions
Syntax Dasar C++ #1
Quiz
•
11th Grade
10 questions
高二資訊課補考題目
Quiz
•
11th Grade - University
10 questions
Ôn tập bài 1 - Dữ liệu, thông tin và xử lý thông tin
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
