- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
Python Exception Handling and Debugging Quiz
Read tracebacks, know the common Python errors, handle them with try and except, raise your own, and spot the bugs that trip up even experienced developers.
All levels
5 quizzes · 50 questions
about 30 minutes
0/5passed
Category exam
20 mixed questions. 80% earns a certificate.
1
Reading Tracebacks
Easy
Learn to read a Python traceback and find the line and the reason behind an error.
#tracebacks#debugging
10 questions · ~5 min
Not started
Start
2
Common Errors
Easy
Match everyday Python errors like TypeError, NameError and KeyError to the code that causes them.
#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.
#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.
#exceptions#custom-exceptions
10 questions · ~6 min
Not started
Start
5
Find the Bug
Hard
Spot the classic Python gotchas behind code that runs but gives the wrong answer.
#debugging#gotchas#interview
10 questions · ~8 min
Not started
Start
No quiz matches. Try another word or tag.