IT 117: Intermediate Scripting
Class 24

Review


New Material


Microphone

Quiz 9

Let's look at the answers to Quiz 9.

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.

Solution to Homework 10

I have posted a solution to homework 10 here.

Let's take a look.

Homework 11

I have posted homework 11 here.

This is the last homework assignment.

It is due this Sunday at 11:59 PM.

Questions

Are there any questions before I begin?

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

Polymorphism

Mutator for the Instructional Class

Accessors for the Instructional Class

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

Direct versus Indirect Recursion

Intellectual Property

Class Exercise

Class Quiz