IT 116: Introduction to Scripting
Class 14

Today's Topics

Review

Homework 7

I have posted homework 7 here.

It is not due this coming Sunday.

Instead is due on the Sunday of the following week, October 27th.

This is to allow you time this weekend to study for the mid-term.

Mid-term

Review

Strings and String Literals

Characters

Comments

Variables

Creating Variables with Assignment Statements

Expressions

Variable Naming Rules

Numeric Data Types and Literals

The input Function

Performing Calculations

Decimal and Integer Division

Exponent Operator

Remainder Operator

Operator Precedence

Grouping with Parentheses

Escape Characters

Concatenation Operator

Boolean Expression

Relational Operators

Precedence of Relational Operators

Control Structures

if Statements

if-else Statements

Indentation in the if-else Statement

Nested if Statements

if-elif-else Statements

Logical Operators

Precedence of Logical Operators

Loops

While Loops

Infinite Loops

for Loops

The range Function

Running Totals

Augmented Assignment Operators

Nested Loops

Functions

Two Types of Functions

Defining a Function

Calling a Function

Local Variables

Parameters