IT 116: Introduction to Scripting
Class 11

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.

Readings

If you have the textbook you should read Chapter 5, Functions, from Starting Out with Python.

Solution to Homework 4

I have posted a solution to homework 4 here.

Let's take a look.

Homework 6

I have posted homework 6 here.

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

Midterm

The Midterm exam for this course will be held on Tuesday, October 22nd.

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 Graded 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.

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

To study for the code questions you should be able to

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, October 17th, 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 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.

Remember, the Midterm and Final determine 50% of your grade.

Questions

Are there any questions before I begin?

Tips and Examples

Studying for the Midterm with Flashcards

Getting Your First IT Job

Keep In Contact

A Common Error

Review

for Loops

The range Function

Setting the First and Last Values with range

Setting the Increment with range

Nested Loops

Attendance

New Material

Calculating a Running Total

Augmented Assignment Operators

Calculating Averages

Sentinels

Functions

Using Functions in Writing Programs

Two Types of Functions

Function Names

Defining a Function

Calling a Function

Class Exercise

Class Quiz