IT 117: Intermediate Scripting
Class 2

Course Work


Python Review


Microphone

Homework 1

I have posted homework 1 here.

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

Unix Account and Class Directory

Some you have not created a class directory and a Unix account.

All work for this course MUST be copied to your class directory

A directory is what you probably call a "folder".

Without a class directory you cannot submit assignments.

If you do not have a Unix account go to http://www.cs.umb.edu/~ghoffman/linux/cs_portal.html#creating_unix_account.

If you do have a Unix account you still need a class directory for this course.

Go to https://portal.cs.umb.edu/accounts/login/ , log in, click the check box for my section of this course, and click submit.

Help with Creating a Unix Account

If you have difficulty creating an account must get help NOW!

You can see me after class or during office hours.

You can contact me on Zoom during office hours.

To see how to do this go here

Whatever it takes, you MUST create a Unix account and a class directory.

Review Classes

This class and the two classes next week will be review classes.

I will cover the material from IT 116 that you need to know for this class.

You should use this period to brush up on your knowledge of Python.

Class Page for IT 116

You may find it useful to look at my materials for IT 116.

I have a web site where I post most of the materials for my courses.

You will find the IT 116 materials at http://96.126.105.215/umb_classes_html/it116_html/class_page_it116.html

I have included this link on the class page for the course.

Go to the index for the Class Notes and search for a topic.

You will find the index here http://96.126.105.215/umb_classes_html/it116_html/class_notes_it116/class_notes_index_it116.html .

Questions

Are there any questions before I begin?

Course Work

Assignments

Submitting Assignments

Working on Assignments

Software for the Class

Python Review

The Python Interpreter

Python Scripts

Rules for Scripts

Variables

Creating Variables with Assignment Statements

Data Types

Integers and Floats

Characters

Strings and String Literals

Expressions

Comments

Variable Naming Rules

The input Function

Operators

Decimal and Integer Division

Remainder Operator

Exponent Operator

Operator Precedence

Grouping with Parentheses

Mixed-Type Expressions and Data Type Conversion

Escape Characters

Concatenation Operator

Boolean Expression

Relational Operators

Comparing Strings

Control Structures

if Statements

Code Blocks

if-else Statements

Nested if Statements

Testing a Series of Conditions

if-elif-else Statements

Logical Operators

Loops

While Loops

Infinite Loops

Class Exercise

Attendance