Exception Handling & Debugging

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

1/36

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:55 AM on 3/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

37 Terms

1
New cards
Debugging
"The process of identifying and fixing errors (bugs) in a program that cause unexpected behavior."
2
New cards
Error Symptoms
"Visible signs of a problem in a program
3
New cards
Root Cause
"The actual source or main reason why an error occurs in a program."
4
New cards
Fixing the Error
"Modifying the code to eliminate the identified issue and ensure correct execution."
5
New cards
Understanding the Problem
"Fully analyzing and reproducing an issue before attempting to fix it."
6
New cards
Backtracking
"A debugging method where you start from where the error occurred and trace backward to find its origin."
7
New cards
Debugging Tools
"Software utilities that help inspect variables
8
New cards
Breakpoint
"A designated stopping point in a program where execution temporarily pauses for inspection."
9
New cards
Stepping
"Executing code line-by-line to observe how variables and logic behave."
10
New cards
Binary Search (Debugging Technique)
"Dividing code into sections to systematically isolate and locate bugs."
11
New cards
Rubber Ducking
"Explaining code or logic out loud to better understand and discover errors."
12
New cards
Log Analysis
"Using log or print statements to monitor program execution and variable values."
13
New cards
Clustering Bugs
"Grouping related bugs together to identify common patterns or causes."
14
New cards
Stack Trace
"A list of method calls that were executed before a program crashed."
15
New cards
Exception
"An unexpected event that occurs during program execution."
16
New cards
Runtime Error
"An error that occurs while the program is running."
17
New cards
Syntax Error
"An error detected during compilation due to incorrect code structure."
18
New cards
Exception Handling
"The process of managing runtime errors to prevent program crashes."
19
New cards
Throwable Class
"The superclass of all errors and exceptions in Java."
20
New cards
Error Class (Java)
"Represents serious problems that a program usually cannot recover from."
21
New cards
Exception Class (Java)
"Represents conditions that can be handled and recovered from during runtime."
22
New cards
IOException
"Thrown when file or stream operations fail."
23
New cards
RuntimeException
"An exception detected only during program execution."
24
New cards
ArithmeticException
"Thrown when an illegal arithmetic operation occurs
25
New cards
IndexOutOfBoundsException
"Thrown when an invalid index is used in arrays
26
New cards
ArrayIndexOutOfBoundsException
"Thrown when accessing an array using a negative or overly large index."
27
New cards
NoSuchElementException
"Thrown when attempting to access an element that does not exist."
28
New cards
InputMismatchException
"Thrown when user input does not match the expected data type."
29
New cards
VirtualMachineError
"Indicates that the Java Virtual Machine has run out of resources or encountered a serious failure."
30
New cards
OutOfMemoryError
"Thrown when the JVM cannot allocate memory for an object."
31
New cards
InternalError
"Indicates an unexpected internal error within the Java Virtual Machine."
32
New cards
try Block
"A block of code that contains statements that might generate an exception."
33
New cards
catch Block
"A block of code that handles a specific exception thrown by the try block."
34
New cards
throw Statement
"A statement that explicitly sends an exception to be handled elsewhere."
35
New cards
Exception Object
"An instance of an Exception class that contains information about an error."
36
New cards
finally Block
"A block of code that executes regardless of whether an exception occurs."
37
New cards
Cleanup Code
"Code placed inside a finally block to release resources such as closing files."