IT 116: Introduction to Scripting
Class 13

Today's Topics


New Material

Reading Assignment

You should read Chapter 6, Files and Exceptions, from our textbook, Starting Out with Python, before the week after the Mid-term

Homework 7

I have posted homework 7 here.

It is due Sunday, March 25th, at 11:59 PM.

It is not due this coming Sunday to allow you to study for the Mid-term Exam.


The mid-term exam will be given on Tuesday, March 20th.

This is the first Tuesday after the Spring break.

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.

The last class before the exam, Thursday, March 8th, will be a review session.

You will only be responsible for the material in the Class Notes for that class on the exam.

The Mid-term is a closed book exam.

Quiz 4

I have posted the answers to Quiz 4 here.


Local Variables

Passing Values to Functions

Passing Multiple Arguments

Default Values for Parameters

Global Variables

Global Constants

New Material

Functions that Return Values

Returning Multiple Values

Standard Library Functions

Creating Random Numbers

The random Module

Other random Functions

Random Number Seeds


Graded Quiz