IT 116: Introduction to Scripting
Class 20 Ungraded Quiz
-
What is a syntax error?
-
What is a logic error?
-
What is a runtime error?
-
What does the Python interpreter do when it comes upon a runtime error?
-
When does the Python interpreter create an exception object?
-
What type of statement can be used to deal with an exception?
-
What should you put in the first block of the above statement?
-
What code should you put in the second block of this statement?
-
What happens when an exception is encountered in the
try
block
of such a statement?