IT 117: Intermediate Scripting
Class 24

Review


New Material


Microphone

Questions

Are there any questions before I begin?

Graded Quiz 9

You can connect to Gradescope to take weekly graded quiz today during the last 15 minutes of the class.

Once you start the quiz you have 15 minutes to finish it.

Readings

If you have the textbook read Chapter 12, Recursion, sections 12.1 Introduction to Recursion, 12.2 Problem Solving with Recursion and 12.3 Examples of Recursive Algorithms.

Homework 11

I have posted homework 11 here.

This is the last homework assignment.

It is due this Sunday at 11:59 PM.

Review

The Movie Subclass

Creating a Subclass

Creating a Constructor for a Subclass

Movie Accessor Methods

The add_actor Method

A __str__ Method for Movie

The super Function

Creating Derived Objects

The Instructional Class

The Instructional Constructor

The get_name Method for Instructional

The __str__ Method for Instructional

Mutator for the Instructional Class

Accessors for the Instructional Class

Polymorphism

Three Principles of Object-Oriented Programming

Attendance

New Material

Functions Calling Functions

Recursive Functions

Writing Recursive Functions

Calculating the Factorial of a Number

Calculating Fibonacci Numbers

Palindromes

Using Recursion in IT

Replacing Recursion with a Loop

Calculating Factorials with a Loop

Calculating Fibonacci Numbers with a Loop

Why Use Recursion?

Direct versus Indirect Recursion

Intellectual Property

Class Exercise

Class Quiz