IT 116: Introduction to Scripting
Class 26

Tips and Examples


Review


New Material


Microphone

Readings

If you have the textbook you should read Chapter 8, More About Strings, from Starting Out with Python.

Final Exam

The final exam will be held on Thursday, May 22nd from 11:30 AM - 2:30 PM.

The exam with NOT be given in this room.

Instead it will be givin in University Hall, Y02-2110

If for some reason you are not able to take the Final at the time it will be offered, you MUST send an email to me before the exam so we can make alternative arrangements.

The final will consist of questions taken from the Weekly Graded Quizzes, along with questions asking you to write short segments of Python code.

There is a link to the answers to the graded quizze on the class web page.

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

You do not need to study a Graded Quiz question if the topic is not mentioned in either the Midterm or Final review.

The remaining 40% will come from 4 questions that ask you to write some code.

To study for the code questions you should be able to

A good way to study for the code questions is to review the Class Exercises, homework solutions and Class Notes.

The last class on Thursday, May 8th, will be a review session.

You will only be responsible for the material in that review session, which you will find here, and the review for the Midterm, 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.

Remember, the Midterm and Final determine 50% of your grade.

Quiz 10

Let's review the answers to Quiz 10.

No Graded Quiz Next Week

Quiz 10 was the last graded quiz.

Don't forget the Linix InstallFest this coming Saturday, May 3rd, from 9 to 5 in the McCormack Conference Room M03-0721.

Questions

Are there any questions before I begin?

Tips and Examples

A Practical Example of Reading File into Sequence Object

Review

List Elements

Two-Dimensional Lists

Tuples

The tuple Conversion Function

Why Use Tuples?

Attendance

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

Confidentiality

Class Exercise

Class Quiz