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 Wayground
18 questions
Tin 10 - Bài 3

Quiz
•
10th Grade
13 questions
reviews

Quiz
•
1st Grade - University
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
11 questions
Trắc nghiệm Tin học 10 Bài 18: Các lệnh vào ra đơn giản( GOI 2)

Quiz
•
10th Grade
15 questions
Tin hoc 10

Quiz
•
10th - 11th Grade
20 questions
2324TX5

Quiz
•
9th - 12th Grade
20 questions
BT VỀ HĐH

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