Errors and Exceptions Quiz
Check what you learned in the Errors and Exceptions lesson. Every question explains the answer, so even a wrong answer teaches you something.
- 12 questions, picked from a pool of 49
- About 9 minutes
- Instant feedback
What this quiz covers
- Reading an exception (opens in a new tab)
- try and except (opens in a new tab)
- Getting the error message (opens in a new tab)
- Handling different exceptions (opens in a new tab)
- else and finally (opens in a new tab)
- Validating user input (opens in a new tab)
- Raising exceptions (opens in a new tab)
- Your own exception types (opens in a new tab)
Output