IT 116: Introduction to Scripting
Class 8

Today's Topics

Tips and Examples


Review


New Material

Homework 4

I have posted homework 4 here.

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

Tips and Examples

Misleading Error Messages

Review

Control Structures

if Statements

Boolean Expression

Relational Operators

if-else Statements

Indentation in the if-else Statement

Comparing Strings

Nested if Statements

Testing a Series of Conditions

if-elif-else Statements

New Material

Logical Operators

Short-Circuit Evaluation

Checking Numeric Ranges with Logical Operators

Boolean Variables

Keep Your Code Short

Loops

while Loops

Infinite Loops

Data Validation Loops

Attendance

Class Quiz