10.1 Handling exceptions using try and except

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

except [block]

If the code in the try block causes an exception, then the code placed in a following except block is executed

Error-checking code

code that a programmer introduces to detect and handle errors that occur while the program executes

try [block]

code that potentially can produce an exception

Exception-handling

constructs because they handle exceptional circumstances, another word for errors during execution.

exception handling

the process of responding to unexpected or unwanted events and errors during execution


Kaugnay na mga set ng pag-aaral

Chapter 2: Computing Wages and Salaries

View Set

2020 NEC Final exam 80 questions

View Set

PSYCH 210 Cognition: All Quiz Sets

View Set

Lesson 22 - Ratios and Proportions

View Set

Regular Chemistry Chp 2.4-2.5 Homework

View Set