IT 117: Intermediate Scripting
Class 9

Today's Topics

Course Requirements


New Material

Homework 5

I have posted homework 5 here.

It is due this coming Sunday at 11:59 PM.


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 1

I have posted the answers to Quiz 1 here.

Let's review the answers.

Course Requirements

Collecting and Testing Assignments

Notifying You About Missing Work

Late Work


Sets in Mathematics

Set Membership

Subsets and Supersets

Union of Sets

Intersection of Sets

Difference between Sets

Symmetric Difference between Sets

Sets in Python

Creating a Set in Python

Running set with an Argument

Set Literals

Adding Elements to a Set

Removing Elements from a Set

New Material

The Size of a Set

When Are Sets Equal?

Elements in A Python Set

for Loops with Sets

Testing for Set Membership

Union of Sets in Python

Intersection of Sets in Python

Difference between Sets in Python

Symmetric Difference between Sets in Python

Subsets and Supersets


The clear Method

min And max with Sets

When Sets Are Best

Practical Example

Sets More Efficient Than Lists


Graded Quiz