IT 117: Intermediate Scripting
Class 25

Review


New Material


Microphone

Graded Quiz

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.

You can only take this quiz today.

There is not makeup for the weekly quiz because Gradescope does not permit it.

Final Exam

The final exam will be held on Thursday, December 19th 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 taken from the Graded 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 Graded Quizzes.

You do not need to study a Graded Quiz question if the topic is not mentioned in either the Midterm or Final review.

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.

The last class on Thursday, December 1oth, will be a review session.

You will only be responsible for the material in that review session, which you will find here, 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.

Readings

If you have the textbook read Chapter 13, GUI Programming.

Questions

Are there any questions before I begin?

Review

Recursive Functions

Writing Recursive Functions

Calculating the Factorial of a Number

Calculating Fibonacci Numbers

Another Example of Recursion

Replacing Recursion with a Loop

Calculating Factorials with a Loop

Calculating Fibonacci Numbers with a Loop

Direct versus Indirect Recursion

Attendance

New Material

The First Computer Interfaces

The Command Line as an Interface

Birth of the Graphical User Interface

GUI Programs Are Event-Driven

Running Graphic Programs

The Tkinter Module

Using Tkinter

Changing the Empty Window

Running Graphical Python Programs

Widgets

Label Widgets

Changing the Fonts in a Label

Changing the Way I Import Tkinter

Changing Label Colors

Privacy

Class Exercise

Class Quiz