IT 116: Introduction to Scripting
Class 21

Today's Topics

Tips and Examples


New Material

Homework 10

I have posted homework 10 here.

It is due this coming Sunday at 11:59 PM.

Quiz 7

You will find the answers to Quiz 7 here.

Let's review them.

Tips and Examples

Hashbang Problem with Windows Text Files


Getting the Average Value from Records

Multiple Reading of Records


Runtime Errors


Catching Exceptions

New Material

The Code in the try Clause

Different Exception Types

Common Exception Types

Handling More Than One Type of Exception

Exception Objects

The else Clause

The finally Clause


Graded Quiz