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, May 21st. It will be on Blackboard. I will use the same format as the Midterm. The exam will be a two parts exam (Questions and writing short segments of Python code).

The last day of our class will be on Tuesday, May 12th, We will have an optional Zoom meeting for any question you may have. I will send you the Zoom information.

Class 28, on Thursday, May 7th, 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.

The final will be an online exam.

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