Introduction to Programming using Python 1st Edition

Published by Pearson
ISBN 10: 0132747189
ISBN 13: 978-0-13274-718-9

Chapter 13 - Files and Exception Handling - Section 13.9 - Defining Custom Exception Classes - Check Point - MyProgrammingLab - Page 463: 13.18

Answer

1. No 2. No 3. Yes

Work Step by Step

1. Since there is error in statement 2, no statement after that of try block will be executed. 2. If the exception is not caught then the program will give error and halt, so statement 4 will not be executed. 3. If error is caught then after handling the error statement 4 will be executed.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.