IT 116: Introduction to Scripting
Class 7

General Advice


Course Requirements


Tips and Examples


Review


New Material


Microphone

Questions

Are there any questions before I begin?

Readings

If you have the textbook you should read Chapter 3, Decision Structures and Boolean Logic, from Starting Out with Python.

Solution to Homework 2

I have posted a solution to homework 2 here.

Let's take a look.

Homework 4

I have posted homework 4 here.

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

Graded Quiz Today

After I finish talking I will pass out the papers for today's graded quiz.

Today's Class

Today I will talk about the 3 kinds of if statements.

I will also talk about values that can only be true or false, and the operators used with them.

General Advice

Your Mental Health

Course Requirements

Collecting and Testing Assignments

Notifying You About Missing Work

Late Work

Tips and Examples

Help with Assignments

No Appointment Needed For Office Hours

Checking Class Exercises

Line Numbers In IDLE

Review

Breaking Long Statements into Multiple Lines

Whitespace Characters

Escape Sequences

Concatenation Operator

Concatenating Strings with Numbers

Control Structures

Two Types of Control Structures

Attendance

New Material

if Statements

Simple if Statement

Boolean Expression

Relational Operators

Precedence of Relational Operators

if-else Statements

Indentation in ifStatements

Comparing Strings

Nested if Statements

Testing a Series of Conditions

if-elif-else Statements

Class Exercise

Class Quiz