Đ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."

Kiểm tra kiến thức lập trình

Quiz
•
Computers
•
10th Grade
•
Hard
thuhoai tran
Used 2+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
sai, lôgic.
đúng, Syntax Error.
đúng, lôgic.
sai, ngoại lệ.
2.
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.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau mắc lỗi gì? #Tính tích của 3 số nguyên dương đầu tiên. >>>s = 1 >> for i in range(3) >>>s = s * i >>>print(s) 0
Lôgic.
Sai cú pháp.
Lỗi ngoại lệ.
Không có lỗi.
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
Mã lỗi ngoại lệ của lệnh sau là s = "12" + 12
ZeroDivisionError.
TypeError.
IndentationError.
SyntaxError.
6.
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.
7.
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ệ.
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Tin học 7 Excel

Quiz
•
7th - 12th Grade
20 questions
kiểm tra kì 2 đề 1

Quiz
•
9th - 12th Grade
21 questions
Ôn tập cuối kì Đông. Python

Quiz
•
10th Grade - University
21 questions
Ôn tập củng cố bài 29_Tin học 10

Quiz
•
10th Grade
20 questions
tin học quang minh đẹp trai siêu cấp vũ trụ 7 dải ngân hà

Quiz
•
10th Grade
20 questions
Kiểm Tra Python

Quiz
•
10th Grade
21 questions
bài 29,30

Quiz
•
9th - 12th Grade
20 questions
Tin học 11 chương I

Quiz
•
1st - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade