IT 116: Introduction to Scripting
Class 24

Today's Topics

Tips and Examples


New Material

Homework 11

I have posted homework 11 here.

It is due this coming Sunday at 11:59 PM.

This is the last homework assignment.

Final Exam

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

The exam will be given in Wheatley 1-034.

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.

The last class, Tuesday, December 12th, will be a review session.

You will only be responsible for the material in the Class Notes for that class 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.

You will not be able to leave the room until you turn in your exam paper so you should visit the restroom before you take the test.

The final is a closed book exam.

Tips and Examples

Using split to Create a List



Leaving Out Indexes in a Slice

Skipping Elements in a Slice

The in Operator

List Methods

The append Method

The index Method

The insert Method

The remove Method

The sort Method

The reverse Method

The del Statement

The min and max Functions

New Material

Problems with Copying Objects

Copying Lists

Processing Lists

Functions That Return Lists

Functions That Return Objects

Functions That Work with Lists

Functions That Change Lists