Chương trình sau thông báo lỗi gì? n = 5 for i in range(n): prin(t)

bài 29 Nhận biết lỗi chương trình

Quiz
•
Computers
•
10th Grade
•
Hard
Anh Đức
Used 4+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. Type Error.
B. NameError.
C. SyntaxError.
D. ValueError.
2.
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
3.
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
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)
A. Type Error.
B. NameError.
C. SyntaxError.
D. ValueError.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì? lst = [10, 20, 30, 40] print(lst[6])
NameError
SyntaxError
ValueError
IndexError
6.
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
7.
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
A. Type Error.
B. NameError.
C. SyntaxError.
D. ValueError.
Create a free account and access millions of resources
Similar Resources on Quizizz
21 questions
Kiểm tra kiến thức lập trình

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

Quiz
•
9th - 12th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình

Quiz
•
9th - 12th Grade
15 questions
Ôn tập HK2 Python 10

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

Quiz
•
10th Grade - University
20 questions
BÀI 24-25 TIN 10

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

Quiz
•
10th Grade
15 questions
Tin học 10_bài 29

Quiz
•
10th Grade
Popular Resources on Quizizz
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