What is an Unhandled Exception?


Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

Which situation could generate an unhandled exception in your code?

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. Which of the following code samples could result in an unhandled exception?

2. Code that traps an exception and does something else (display a message, restart the program) is called what?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

These study assessments will help you gauge how much you know about unhandled exceptions. You'll answer quiz questions on topics like what might cause an unhandled exception in a code and a code sample that could end up with one.

Quiz & Worksheet Goals

Test your understanding of:

  • The term for code that traps an exception
  • How to examine a code for exceptions
  • Why a given code would throw an unhandled exception

Skills Practiced

  • Reading comprehension - ensure that you draw the most important information from the related lesson on unhandled exceptions
  • Information recall - access the knowledge you've gained regarding the exceptions in a given code and what they represent
  • Knowledge application - use your knowledge to answer questions about the various unhandled exceptions in a code

Additional Learning

To learn more, simply review the accompanying lesson we've named What is an Unhandled Exception?. These concepts will be considered throughout the lesson:

  • The definition of an 'exception' in the context of a computer program
  • What an unhandled exception is and how it's applied
  • An error in a code and what transpires when that takes place