IT 117: Intermediate Scripting
Index to Class Notes
Class 1: Tuesday, September 8th
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
Diversity, Equity and Inclusion
Accommodations for Disabilities
Classroom Behavior
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
Who Am I
Office Hours
Contacting Me
First Class Exercise
First Homework Assignment
Class 2: Thursday, September 10th
Class Directory for IT 117
Assignments
Submitting Assignments
Rules for Scripts
Software for the Class
The Python Interpreter
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 Sequences
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
Precedence of Logical Operators
Loops
While Loops
Infinite Loops
Class 3: Tuesday, September 15th
Do You Have Enough Time to Do the Work for This Course?
Class Quizzes
First Graded Quiz
Class Exercises
Getting Help
Describing a Problem
Don't Use Screenshots in Piazza
Making Script Executable
Login Failure
Class Page for IT 116
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 17th
Make a Study Schedule
First Graded Quiz
Gradescope
Class Quizzes
Rules for Homework Scripts
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 22nd
Learn to Read Carefully
Graded Quiz Today
Late Penalty
Do Not Email Me about Missing Assignments
Importance of Exams
Preparing for Exams
Do Not Fall Behind in This Course
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
Class 6: Thursday, September 24th
Attending Class
Hashbang Problem with Windows Text Files
Creating Lists
Lists versus Dictionaries
The
in
And
not in
Operators
Deleting Elements from A Dictionary
Getting the Number of Elements in a Dictionary
Largest and Smallest Keys
Sorting Dictionary Keys
Hash Tables