Python quizzes: #exceptions

5 quizzes about #exceptions, with an explanation for every answer.

2 Common Errors Easy Match everyday Python errors like TypeError, NameError and KeyError to the code that causes them. Python · Errors & Debugging #exceptions#debugging 10 questions · ~5 min Not started Start
3 try / except / finally Medium Predict how try, except, else and finally run together, including returns and loops. Python · Errors & Debugging #exceptions#control-flow 10 questions · ~6 min Not started Start
4 Raising Exceptions Medium Raise built-in and custom exceptions, re-raise them and chain them with from. Python · Errors & Debugging #exceptions#custom-exceptions 10 questions · ~6 min Not started Start
1 Checked vs Unchecked Exceptions Medium Know which Java exceptions the compiler forces you to handle and which ones it lets through. Java · Exceptions & Modern Java #exceptions#checked-exceptions 10 questions · ~6 min Not started Start
2 try, catch & finally Medium Trace exactly what runs, and in which order, when Java code throws, catches and cleans up. Java · Exceptions & Modern Java #exceptions#finally 10 questions · ~6 min Not started Start

Other tags: