Nhận Biết Lỗi Chương Trình

Nhận Biết Lỗi Chương Trình

Professional Development

20 Qs

quiz-placeholder

Similar activities

tâm lý

tâm lý

Professional Development

20 Qs

Classification of Errors Quiz

Classification of Errors Quiz

Professional Development

15 Qs

Math Problem Solving

Math Problem Solving

Professional Development

15 Qs

Bài 4

Bài 4

Professional Development

15 Qs

FN_06. Định giá lại_P2_huyenhtt

FN_06. Định giá lại_P2_huyenhtt

Professional Development

17 Qs

Quiz Từ Vựng Minnano Nihongo bai 3

Quiz Từ Vựng Minnano Nihongo bai 3

Professional Development

15 Qs

Bí Mật Của Cuộc Thi Hoa Hậu

Bí Mật Của Cuộc Thi Hoa Hậu

Professional Development

15 Qs

Câu hỏi trắc nghiệm về xuất nhập khẩu

Câu hỏi trắc nghiệm về xuất nhập khẩu

Professional Development

20 Qs

Nhận Biết Lỗi Chương Trình

Nhận Biết Lỗi Chương Trình

Assessment

Quiz

Others

Professional Development

Practice Problem

Easy

Created by

Trùng Dương Đặng

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

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.

2.

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.

3.

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.

4.

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.

5.

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ệ.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

IndentationError là lỗi ngoại lệ như thế nào?

Lỗi liên quan đến giá trị của đối tượng.

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ệnh tính biểu thức số nhưng lại có một toán hạng không phải là số.

Lỗi cú pháp.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi dòng lệnh thụt vào không thẳng hàng chương trình đưa ra mã lỗi ngoại lệ nào?

ZeroDivisionError.

TypeError.

IndentationError.

SyntaxError.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?