IT 116: Introduction to Scripting
Class 26

Today's Topics

Tips and Examples


Review


New Material

Final Exam

The final exam will be given on Thursday, December 19th from 11:30 - 2:30.

The exam will be given in this room.

It will consist of questions like those on the quizzes along with questions asking you to write short segments of Python code.

60% of the points on this exam will consist of questions from the Ungraded Class Quizzes.

Although classes do not end until Friday, December 13th, I do not have materials for a 29th class, and do not have the time to prepare them.

Instead, on day when the last class would normally be held, Thursday, December 12th I will have office hours from Noon to 6 PM.

You may come to my office at any time during this period, for help of any sort, without making an appointment.

Class 28, on Tuesday, December 10th, will be a review session.

You will only be responsible for the material in Class Notes 28 and the review for the Mid-term, which you will find here.

Although the time alloted for the exam is 3 hours, I would expect that most of you would not need that much time.

The final is a closed book exam.

To prevent cheating, certain rules will be enforced during the exam.

Course Evaluation

I will distribute the course evaluation in the last class.

The evaluations are very important.

They help me to realize what I have done right and what I have done wrong.

Please take the time to fill them out with your honest opinion of the course and my teaching.

Announcement

There will be no graded quiz next week.

Tips and Examples

A Practical Example of Reading Files into Lists

Review

List Elements

Two-Dimensional Lists

Tuples

The tuple Conversion Function

Why Use Tuples?

New Material

Strings Are Sequences

Accessing Characters With Indexing

Negative Numbers as Indexes

Using a for Loop with Strings

Strings Are Immutable

Garbage Collection

String Slicing

Writing Programs Work with Words

String Programs 1 - Turning Numbers into Words

String Programs 2 - Checking for Anagrams

String Programs 3 - Creating Phony Student IDs

String Programs 4 - Creating Passwords

Attendance

Class Quiz