Errors, debugging, and testing definitions

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:32 PM on 4/16/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

9 Terms

1
New cards

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.

2
New cards

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.

3
New cards

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.

4
New cards

TypeError

A TypeError occurs when an operation or function is used with an object of an inappropriate type.

5
New cards

ValueError

A ValueError occurs when the type of a value is correct but the value itself is inappropriate.

6
New cards

KeyError

A KeyError occurs when the code tries to access a dictionary key that does not exist and no fallback is provided.

7
New cards

Stack trace

A stack trace is the error output that shows where an exception occurred in the program.

8
New cards

Debugging

Debugging is the process of finding and fixing errors in code.

9
New cards

Lin