IT 116: Introduction to Scripting
Class 27

Today's Topics

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.

Review

Strings Are Sequences

Accessing Characters With Indexing

Negative Numbers as Indexes

Using a for Loop with Strings

Strings Are Immutable

Garbage Collection

String Slicing

New Material

Testing Strings

Testing Strings with in and not in

Using the in Operator on a File

String Methods

String Testing Methods

isalnum()

isalpha()

isdigit()

islower()

isupper()

isspace()

String Methods That Produce New Strings

lower()

upper()

lstrip()

rstrip()

strip()

String Search and Replace Methods

endswith(substring)

startswith(substring)

find(substring)

replace(old_substring, new_substring)

Confidentiality

Contract for the Web

Attendance