IT 117: Intermediate Scripting
Class 13

Tips and Examples


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.

Solution to Homework 5

I have posted a solution to homework 5 here.

Let's take a look.

Homework 7

I have posted homework 7 here.

It is NOT due this coming Sunday.

Instead it is due Sunday, March 24th.

This is to give you time to study for the midterm.

And to give me time to score it.

Midterm

The Midterm exam for this course will be held on Tuesday, March 19th.

That is the first Tuesday after the Spring Break.

The exam will be given in this room.

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.

There will be 15 of these questions worth 4 points each.

The other 40% of points will come from four questions that ask you to write a short segment of code.

Each of the code questions is worth 10 points each.

To study for the code questions you should know

A good way to study for the code questions is to review the Class Exercises and homework solutions.

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

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

You will find the Midterm review Class Notes here.

If for some reason you cannot take the exam on the date mentioned above you must contact me to make alternate arrangements.

The Midterm is given on paper.

I scan each exam paper and upload the scans to Gradescope.

I score the exam on Gradescope.

You will get an email from Gradescope with your score when I am done.

The Midterm is a closed book exam.

You are not allowed to use use any resource, other than what is in your head, while taking the exam.

Cheating on the exam will result in a score of 0 and will be reported to the Administration.

Remember your Oath of Honesty.

To prevent cheating, certain rules will be enforced during the exam.

Today's New Material Not on Midterm

The new material in today's class will not appear on the Midterm.

You will only be responsible for the material in the Class Notes for the next class.

They will cover Class Notes 2 through 12.

Quiz

There will be no graded quiz next week.

Questions

Are there any questions before I begin?

Tips and Examples

Studying for the Midterm with Flashcards

Review

Getting Strings from a Match

The ( ) Meta-characters

A New Regular Expression Testing Script

Repetition in Regular Expressions

Specifying a Range of Repeating Characters

Creating Custom Character Classes

Ranges of Characters in a Character Class

Anchors in Regular Expressions

The ^ Meta-Character

The | Meta-Character

Greedy versus Non-greedy Matching

Attendance

New Material

Python for Real World Problems

Email for Missing Homework

Email for Missing Homework - Step 1

Email for Missing Homework - Step 2

Email for Missing Homework - Step 3

Email for Missing Homework - Step 4

Email for Missing Homework - Step 5

Email for Missing Homework - Step 6

Email for Missing Homework - Step 7

Email for Missing Homework - Step 8

Email for Missing Homework - Step 9

Reusing Functions with Modules

Importing Modules

Dot Notation with Module Functions

Another Regular Expression Problem - Total Scores

Total Scores - Step 1

Total Scores - Step 2

Total Scores - Step 3

Total Scores - Step 4

Total Scores - Step 5

Class Exercise

Class Quiz