Java Exception Handling Quiz

Java Exception Handling Quiz

12th Grade

20 Qs

quiz-placeholder

Similar activities

Bộ câu hỏi trắc nghiệm tìm hiểu Công văn 3456/BGDĐT-GDPT

Bộ câu hỏi trắc nghiệm tìm hiểu Công văn 3456/BGDĐT-GDPT

5th Grade - University

15 Qs

Ôn tập tin học 3_HKII

Ôn tập tin học 3_HKII

3rd Grade - University

20 Qs

Đạo đức và pháp luật trong không gian mạng

Đạo đức và pháp luật trong không gian mạng

12th Grade - University

20 Qs

Khảo Sát Chất Lượng Môn TIN 8

Khảo Sát Chất Lượng Môn TIN 8

8th Grade - University

15 Qs

Bài 30

Bài 30

10th Grade - University

15 Qs

Bài Tập Trắc Nghiệm– Tin 2 (Bài tập trắc nghiệm)

Bài Tập Trắc Nghiệm– Tin 2 (Bài tập trắc nghiệm)

2nd Grade - University

21 Qs

Tin 8-Ôn tập Bài 5

Tin 8-Ôn tập Bài 5

8th Grade - University

25 Qs

ÔN TẬP THIẾT BỊ VÀO RA, PHẦN MỀM MÁY TÍNH

ÔN TẬP THIẾT BỊ VÀO RA, PHẦN MỀM MÁY TÍNH

7th Grade - University

15 Qs

Java Exception Handling Quiz

Java Exception Handling Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Practice Problem

Hard

Created by

Hoang Khoa

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

45 sec • 1 pt

Cái gì là một ngoại lệ trong Java?

Một lỗi biên dịch

Một sự kiện không mong muốn trong quá trình thực thi chương trình

Một loại biến

Một phương pháp lưu trữ dữ liệu

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Trong số các ngoại lệ sau, ngoại lệ nào là checked exception?

ArrayIndexOutOfBoundsException

NullPointerException

ArithmeticException

IOException

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Từ khóa 'throw' trong Java có tác dụng gì?

Tạo một lớp ngoại lệ mới

Khai báo một ngoại lệ

Ném một ngoại lệ một cách rõ ràng

Bắt một ngoại lệ

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Khối nào luôn được thực thi sau khối try-catch?

khối try

khối catch

khối finally

khối throw

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Các loại ngoại lệ nào not checked tại compile time?

Syntax exceptions

Runtime exceptions

Logical exceptions

Checked exceptions

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Mục đích của khối 'finally' là gì?

Để thực thi mã bất kể có ngoại lệ hay không

Để xử lý ngoại lệ

Để khai báo ngoại lệ

Để ném ngoại lệ

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Ví dụ nào sau đây là một ngoại lệ không được kiểm tra?

ClassNotFoundException

ArithmeticException

SQLException

IOException

Access all questions and much more by creating a free account

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?