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.

Announcement

The UMB IT Club and Boston Linux User Group will hold a Linux InstallFest on Saturday, May 3rd, from 9 to 5 in the McCormack Conference Room, M03-0721.

If you have a machine on which you would like to install Linux and would like some help in doing this, bring it the InstallFest.

Volunteers from the Boston Linux User Group with be on hand to help with the installation.

They will also help you install the Window Subsystem for Linux (WSL) on your machine or install Linux as a dual boot.

You can also bring your questions about Linux or Unix to the InstallFest.

The Boston Linux and Unix User Group counts among its members some of the most knowledgeable Linux and Unix people in the Boston area.

You will find directions to M03-0721 here

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