
W10_PASS(W9)_ExceptionHandling
Quiz
•
Computers
•
1st - 3rd Grade
•
Practice Problem
•
Hard
Shu Li
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two phases of program execution when talking about errors?
Error Identifying, Error Reporting
Error Reporting, Error Manipulating
Error Identifying, Error Handling
Error Reporting, Error Handling
Answer explanation
Error Reporting the phase of execution where an error is identified within the program. Error Handling is the phase of execution where an error has already been identified within the program and this part of the program is responsible for handling or fixing it.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the parent class of all the exception classes?
Exception
Error
Throwable
RunTimeException
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A checked exception should be handle with a try-catch or declared using
throw clause
finally clause
throws clause
catch clause
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If we do not handle an exception the program execution will continue after the exception line.
true
false
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Unchecked exception is encountered when there is a possibility for an operation to fail.
true
false
Answer explanation
Checked exception is encountered when there is a possibility for an operation to fail. Such program error could occur due to programmer incorrect input or missing validation, etc.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Null Pointer Exception is considered as unchecked exception.
true
false
Answer explanation
More exception such as Index out of Bounds Exception, Input Mismatch Exception are all belongs to unchecked exceptions which likely cause by programmer oversight or incorrect input.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The finally block is executed only when a exception is thrown.
true
false
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
PYTHON (FOR LOOP)
Quiz
•
1st - 10th Grade
15 questions
Kuis Excel & PPT
Quiz
•
1st Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
10 questions
Excel Avanzado
Quiz
•
1st Grade
10 questions
Types of computers
Quiz
•
2nd - 4th Grade
15 questions
Computer Science Basics
Quiz
•
KG - 2nd Grade
9 questions
Python
Quiz
•
3rd Grade
13 questions
Phần mềm ứng dụng WXP 26 tháng 9 năm 2023
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
