IT 117: Intermediate Scripting
Class 28

Review


Microphone

Final Exam

The final exam will be held on Thursday, May 16th from 3 to 6 PM.

The exam will be given in this room.

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 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 remaining 40% will come from 4 questions that ask you to write some code.

To study for the code questions you should know

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

Today's class will be a review session.

You will only be responsible for the material in today's class 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.

Course Evaluation

At the end of each semester we offer you the opportunity to say what you think about this course.

What have I done right?

What have I done wrong?

What can I do better?

You are not asked for you name.

So the submissions are anonymous.

I will not see your responses until after I have submitted grades for this course.

We collect this feedback through Course Evaluations.

I will use what you say to make this course better.

To complete the course evaluation, use the following link .

You have until Friday, May 24th, to submit the evaluation.

No Class Next Week

A normal semester has 28 classes.

But this semester has 29.

I do not have materials for a 29th class.

Next Tuesday I will have Zoom Office Hours, from 9 AM to 5 PM,instead of a class.

The Zoom session will be conducted from my home in Somerville.

Not my office on the UMB campus.

Questions

Are there any questions before I begin?

Attendance

Review

Objects and Classes

Classes Are Used by Other Programs

Defining a Class

The Constructor Is Special

Creating An Object from A Class

The self Variable

Data Hiding

The __str__ Method

Accessor and Mutator Methods

Storing Objects for Future Use

Import Statements and Global Variables

Magic Methods

Magic Methods and Boolean Operators

Type Conversion Magic Methods

Recursive Functions

Writing Recursive Functions

Calculating the Factorial of a Number

Replacing Recursion with a Loop

Direct versus Indirect Recursion