1/8
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
Error
An error is a problem or mistake in a program, its logic, or its input that leads to incorrect behaviour that ultimately leads to a test of the function being unable to execute due to an unexpected issue.
Failure
A failure is when a program does not behave as expected, in testing, this means that the test runs successfully but an assertation does not pass.
Exception
An exception is an error detected during program execution that interrupts normal flow unless handled. Usually these come in the form of invalid inputs.
TypeError
A TypeError occurs when an operation or function is used with an object of an inappropriate type.
ValueError
A ValueError occurs when the type of a value is correct but the value itself is inappropriate.
KeyError
A KeyError occurs when the code tries to access a dictionary key that does not exist and no fallback is provided.
Stack trace
A stack trace is the error output that shows where an exception occurred in the program.
Debugging
Debugging is the process of finding and fixing errors in code.
Lin