IT 117: Intermediate Scripting
Class 2

Today's Topics

Python Review


Homework 1

I have posted homework 1 here.

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

Completing the Apply Process

A few of you have not completed the Apply process.

You must do this to get a class directory.

Without a class directory you cannot submit assignments.

Getting the Tools for this Class

There are three software packages you need to install on your machine Most of the work for this class will be done on a Linux machine on the CS LAN, users3.cs.umb.edu.

In order connect from your machine, you will need an SSH client.

If you have a Mac, that client is already installed.

You will find instructions here.

If you have a Windows machine you will need to install an SSH client.

You will find instructions for doing this here.

Some work for this class will have to be done on your machine.

For this reason you need to install Python on your machine.

You will find instructions on doing this here.

You must use Python version 3.5 or above.

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 for the previous semester.

You will find these materials here http://96.126.105.215/umb_classes_html/it116_f17_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_f17_html/class_notes_it116/class_notes_index_it116.html .

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.

Review

Basic Linux Commands

The Python Interpreter

Python Scripts

Script Specifications

Data Types

Strings and String Literals

Characters

Comments

Variables

Creating Variables with Assignment Statements

Expressions

Variable Naming Rules

Reading Numbers with the input Function

Performing Calculations

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

Control Structures

if Statements

if-else Statements

Indentation in the if-else Statement

Comparing Strings

Nested if Statements

Testing a Series of Conditions

if-elif-else Statements

Logical Operators

Short-Circuit Evaluation

Loops

While Loops

Infinite Loops

for Loops

The range Function

Augmented Assignment Operators

Nested Loops

Attendance