# CS1 - 0809 - October

From WLCS

## Contents

## Friday (10/31/08)

## Wednesday (10/29/08)

- 1st Quarter Exam - Friday
- Ch. 1 through 4 of HTTLACS

- Exam Review
- Turn in missing work
- Go through HTTLACS: Ch4 completely. Read through and complete the Ch 4 exercises of HTTLACS
- Geek Flow Chart Assignment

## Monday (10/27/08)

**Warmup:**

- Prompt the user for their graduation year
- If they are graduating in the year 2009, then print out a message that says "You are a senior!"
- Do this for every graduating class at WL.

**Agenda:**

- 1st Quarter Exam - Friday
- Ch. 1 through 4 of HTTLACS

- Exam review will be Wednesday
- Go through HTTLACS: Ch4 completely. Read through and complete the Ch 4 exercises of HTTLACS
- Geek Flow Chart Assignment

## Thursday (10/23/08)

**Warmup:**

- Create a new python script named warmup_10_23_08.py
- Prompt the user to input his/her age
- Using an if statement, check to see if he/she is old enough to watch a rated-R movie.
- If they are old enough, then print out a message that says "You may watch rated-R movies!"
- If not, then print out a message that says "You may NOT watch rated-R movies!"

**Agenda:**

- Go through HTTLACS: Ch4 completely. Read through and complete the Ch 4 exercises of HTTLACS
- Geek Flow Chart Assignment

## Tuesday (10/21/08)

**Warmup:**

- Assume you have the following code:

```
x = input("Please enter a number: ")
if x < 100
print x, is less than 100!
else:
print x, is greater than or equal to 100!
```

- Identify the syntax errors in the code above.

**Agenda:**

- IB-paced students should follow along the IB CS I website and check to see where they should be
- If you keep up with the IB-paced students, then your code will be switched mid-year
- As of today, you should have completed the Ch 4 exercises, the Geek Flow Chart Assignment, and are beginning to read Ch 5
- If you are slightly behind, then use today to catch up

- Go through HTTLACS: Ch4 completely. Read through and complete the Ch 4 exercises of HTTLACS

## Friday (10/17/08)

**Warmup:**

- Define a function printNumFiveTimes(x) that takes one parameter x
- In the function body of printNumFiveTimes(x), print x five times

**Agenda:**

- English language if review
- Guido if review
- Python If Overview
- Go through HTTLACS: Ch4 completely. Read through and complete the Ch 4 exercises of HTTLACS

## Wednesday (10/15/08)

- PSATS - NO CLASS

## Monday (10/13/08)

- Complete the HTTLACS: Ch3 exercises today

## Thursday (10/9/08)

- Demo your Quadratic Formula Assignment
- Math function review
- Guido define review
- Python Functions Overview
- Go through HTTLACS: Ch3 completely. Read through and complete the Ch 3 exercises of HTTLACS

## Tuesday (10/7/08)

**Warmup:**

- Create a python script that has three variables: month, day, and year
- Store your birthday in the aforementioned variables
- Print your birthday using the variables
- Your birthday should use the following format: M/D/Y

**Agenda:**

- User input!
- Let's add some user input to your warmup
- Instead of hard-coding the month, day, and year variables, prompt the user for input three times and store the user's input in the variables

- Quadratic Formula Assignment
- Math function review
- Guido define review
- Python Functions Overview
- Go through HTTLACS: Ch3 completely. Read through and complete the Ch 3 exercises of HTTLACS

## Friday (10/3/08)

- HTTLACS: Ch2 Overview
- Read through HTTLACS: Ch2
- Complete the HTTLACS: Ch2 Exercises by Friday (10/3/08)

## Wednesday (10/1/08)

- Print out and turn in your HTTLACS: Ch1 Exercises
- Read through HTTLACS: Ch2
- Complete the HTTLACS: Ch2 Exercises by Friday (10/3/08)