Chương trình báo lỗi SyntaxError. Đây là lỗi gì?

10. Bài 29

Quiz
•
Computers
•
10th Grade
•
Medium
Tin học Nguyễn Bỉnh Khiêm undefined
Used 3+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lỗi liên quan đến giá trị của đối tượng
Lỗi kiểu dữ liệu
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ỗi cú pháp
2.
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?
Không phát sinh lỗi ngoại lệ.
NameError.
Syntax Error.
TypeError
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi ngoại lệ của lệnh sau là float("2 + 3")
IndexError.
ValueError.
SyntaxError.
TypeError.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau có lỗi thuộc loại nào?
123ab = {1,2,3]
print(123ab)
Không có lỗi.
Lỗi ngoại lệ.
Lỗi cú pháp.
Lỗi khác.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy nêu mã lỗi ngoại lệ của lệnh int("abc")?
TypeError
NameError
ValueError
SyntaxError
6.
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)
ValueError.
NameError.
Type Error.
SyntaxError.
7.
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)
SyntaxError.
Type Error.
ValueError.
NameError.
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
G10 - Ôn tập cuối kì mùa Xuân

Quiz
•
10th Grade
24 questions
tin học

Quiz
•
10th Grade - University
23 questions
C++_VongLap_Ham

Quiz
•
2nd Grade - University
30 questions
Kiểm tra 15 phút

Quiz
•
10th Grade
23 questions
Tin học

Quiz
•
10th Grade
25 questions
T8 - ÔN TẬP CUỐI HK2 (22-23) (2)

Quiz
•
9th - 12th Grade
23 questions
Ôn tập kì Xuân Tin học 10. 2

Quiz
•
10th Grade - University
22 questions
Tin học - Bài 25

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

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

Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade