IT 117: Intermediate Scripting
Index to Class Notes
Class 1: Tuesday, September 2nd
Prerequisites
Course Description
This Course Requires Work
Texts
Unix Account
Programming Assignments
Course Work
Software Needed for the Course
Laptops
Phones
Attendance
Recorded Class Meetings
Course Documents
Grading Policy
Exams and Your Grade
Late Work
Email Notification
Gradescope
If You Fall Behind See Me
Diversity, Equity and Inclusion
Accommodations for Disabilities
Classroom Behavior
Academic Integrity
Reputation
Academic Honesty
Honesty Expected In This Class
What Happens If You Are Caught Cheating?
Use of Artificial Intelligence Programs
Class Discussion Area
Class Assistant
Making the Class Interesting
Taking Notes
The Most Important Thing to Learn in This Class
Learn to Read Carefully
Who Am I
Do You Have Enough Time to Do the Work for This Course?
Your Mental Health
Getting Enough Sleep
Office Hours
Academic Support Programs
Other UMB Services
Contacting Me
First Class Exercise
First Homework Assignment
Class 2: Thursday, September 4th
Assignments
Submitting Assignments
Working on Assignments
Rules for Scripts
Software for the Class
Class Assistant
The Python Interpreter
Python 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
Precedence of 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 3: Tuesday, September 9th
Class Exercises
Getting Help
Describing a Problem
Don't Use Screenshots in Piazza
Making Script Executable
for
Loops
The
range
Function
Augmented Assignment Operators
Nested Loops
Functions
Function Names
Defining a Function
Calling a Function
Parameters
Local Variables
Functions that Return Values
Returning Multiple Values
Standard Library Functions
Objects
Files
Using Files
Creating a File Object
Writing Data to a File
Using a File More Than Once
Appending Data to a File
Reading Files with a
for
Loop
Class 4: Thursday, September 11th
Run Test Scripts in the Exercise Directory
Creating Directories with FileZilla
Keeping Your Scripts Organized
Use Flash Cards to Prepare for Graded Quizzes
Running a Script Without
python3
Records
Errors
Syntax Errors
Logic Errors
Runtime Errors
Exception Objects
Catching Exceptions
The
else
Clause
Sequences
Indexing Sequence Objects
Sequence Operators
Empty Sequences
The
len
Function
Using a
for
Loop with Sequences
Changing Values in a
for
Loop
Slices
The
in
Operator
List Methods
The
del
Statement
The
min
and
max
Functions
Negative Numbers as Indexes
strip
()
Splitting a String
Class 5: Tuesday, September 16th
Importance of Exams
Preparing for Exams
Read the Homework Assignments Carefully
Sequences
Dictionaries
Dictionary Literals
Getting Values from a Dictionary
Empty Dictionaries
Adding Entries to a Dictionary
Changing a Dictionary Value
Dictionaries Are
Not
Sequences
Looping Through a Dictionary
Tuples As Dictionary Values
When To Use a Dictionary