IT 116: Introduction to Scripting
Class 21

Today's Topics

Tips and Examples


Review


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

Review

Errors

Syntax Errors

Logic Errors

Runtime Errors

Exception Objects

Catching Exceptions

Exceptions and Data Validation

Improving the Validation Function

New Material

The Code in the try Clause

Different Exception Types

Common Exception Types

Handling More Than One Type of Exception

Using the Data in Exception Objects

The else Clause

The finally Clause

Talking About Ethics and Technology

The Spiderman Principle

Professional Responsibility

Codes of Conduct

Responsibility of IT Professionals

The ACM Code of Ethics and Professional Conduct

Attendance

Graded Quiz