IT 117: Intermediate Scripting
Class 25

Today's Topics


New Material

Reading Assignment

In Chapter 13, GUI Programming, from our textbook, Starting Out with Python, you should read sections 13.1 -13.8 before next Tuesday's class.

Quiz 8

Let's review the answers to Quiz 8.


There will be no graded quiz next week.

Final Exam

The final exam will be given on Tuesday, May 15th from 6:30 - 9:30.

The exam will be given in the same room we use for this class.

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.

Class 28, on Thursday May 3rd, will be a review session.

Even though classes do not end until the following week, Class 28 will be the last class.

Instead of having a Class 29, I will have Office Hours all day, from 11 AM to 6 PM.

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


Functions Calling Functions

Recursive Functions

Writing Recursive Functions

Calculating the Factorial of a Number

Calculating Fibonacci Numbers

Replacing Recursion with a Loop

Calculating Factorials with a Loop

Calculating Fibonacci Numbers with a Loop

Direct versus Indirect Recursion

New Material

The First Computer Interfaces

The Command Line as an Interface

Birth of the Graphical User Interface

GUI Programs Are Event-Driven

The Tkinter Module

Using Tkinter

Changing the Empty Window

Running Graphical Python Programs


Label Widgets

Changing the Fonts in a Label

Changing the Way I Import Tkinter

Changing Label Colors


Graded Quiz