IT 116: Introduction to Scripting
Class 20 Ungraded Quiz

  1. What is a syntax error?

  2. What is a logic error?

  3. What is a runtime error?

  4. What does the Python interpreter do when it comes upon a runtime error?

  5. When does the Python interpreter create an exception object?

  6. What type of statement can be used to deal with an exception?

  7. What should you put in the first block of the above statement?

  8. What code should you put in the second block of this statement?

  9. What happens when an exception is encountered in the try block of such a statement?