CS1 - 1011 - October
From WLCS
Contents
- 1 Friday (10/29/30)
- 2 Wednesday - Thursday (10/27/10 - 10/28/10)
- 3 Tuesday (10/26/10)
- 4 Monday (10/25/10)
- 5 Friday (10/22/10)
- 6 Thursday (10/21/10)
- 7 Wednesday (10/20/10)
- 8 Monday - Tuesday (10/18/10 - 10/19/10)
- 9 Thursday - Friday (10/14/10 - 10/15/10)
- 10 Tuesday (10/12/10)
- 11 Thursday - Friday (10/7/10 - 10/8/10)
- 12 Tuesday (10/5/10)
- 13 Friday - Monday (10/1/10 - 10/4/10)
Friday (10/29/30)
Agenda:
- Functions review
- Be sure you've turned in HTTLACS: Ch 3 Exercises
- Introduction to Conditionals
- Comparison operators assignment
- MPAA calculator assignment
- Demo your MPAA Calculator
Wednesday - Thursday (10/27/10 - 10/28/10)
- 1st Quarter Exam
Tuesday (10/26/10)
Warmup:
- Prompt the user to enter the day of the week (Monday, Tuesday, Wednesday, etc.)
- Use an if statement to check if the user's input matches Monday or Wednesday or Friday
- Print out your classes for that day
- Otherwise, print out the classes for Tuesday or Thursday
Agenda:
- Introduction to Mr. Fowler
- Conditional Review
- 1st Quarter Exam Review
- HTTLACS Ch 1, 2, 3, 4
- Make sure that Comparison operators assignment is turned in
- Logic operators
- Logical operators assignment
- HTTLACS: Ch 4 Exercises
- Geek Flow Chart Assignment
Monday (10/25/10)
Warmup:
- Prompt the user to input numbers for the following variables: m, x, and b
- Be sure to save them as variables
- Calculate the y variable from the formula: y=m*x+b
- Print out the y variable
Agenda:
- Demo Quadratic Formula Assignment
- 1st Quarter Exam Review
- HTTLACS Ch 1, 2, 3
- Introduction to Python Functions
Friday (10/22/10)
Warmup:
- Prompt the user to answer the following Yes/No question: "Do you have any siblings? (y/n)"
- Be sure to save the response into a variable
- Check if the variable is "y", then print out "Awesome...you have brothers and sisters!"
- Else, if they say "n", then print out "Awesome...you're an only child!"
Period 2 - Agenda:
- if-statement review
- Nested if-statements
- Comparison operators assignment
Thursday (10/21/10)
Warmup:
- You will create a program that calculates the amount of time it takes for an object to hit the ground (when dropped from a distance)
- Prompt the user to enter a number (which will be how high the object is in meters) and store it in a variable s
- Calculate t using the formula: t = (s/(0.5*9.8))**0.5
- Print out the message: "Your object will hit the ground in t seconds"
Period 1 - Agenda:
- Be sure you've turned in the following:
- Work on Quadratic Formula Assignment
Wednesday (10/20/10)
Warmup:
- Prompt the user with the following question: "What is the Washington-Lee mascot?"
- Be sure to save the raw_input() into a variable!
- Use an if statement to check if the user's answer is equal to "Generals"
- If so, then print out "You got it right!"
- It not, then print out "Wrong answer buddy!"
Period 2 - Agenda:
- Review of Conditionals
- Comparison operators
- MPAA calculator assignment
- Demo your MPAA Calculator
- Make sure you've turned in all the assignments
Monday - Tuesday (10/18/10 - 10/19/10)
Warmup:
- You will create a program that calculates the amount of time it takes for an object to hit the ground (when dropped from a distance)
- Prompt the user to enter a number (which will be how high the object is in meters) and store it in a variable s
- Calculate t using the formula: t = (s/(0.5*9.8))**0.5
- Print out the message: "Your object will hit the ground in t seconds"
Period 1 - Agenda:
- Introduction to Mr. Fowler
- Review problems with homework
- Values, Types, and Variables Identification assignment
- HTTLACS: Ch 2 Exercises
- Quadratic Formula Assignment
Period 2 - Agenda:
- HTTLACS: Ch 3 Exercises
- Introduction to Conditionals (if statement)
- MPAA calculator assignment
Thursday - Friday (10/14/10 - 10/15/10)
Warmup:
- You will create a program that calculates speed
- Prompt the user (ask for input) for distance traveled and store it in a variable named distance
- Prompt the user (ask for input) for total time and store it in a variable named time
- Calculate the speed by dividing distance by time (distance/time) and store it in a variable named speed
- Print speed
Agenda:
- Quadratic Formula Assignment
- HTTLACS: Ch 3 Exercises
- Turn in Chapter 3 exercises (everybody should turn these in by the end of the day)
- Begin reading HTTLACS: Ch 4
- Be sure to try out all the examples
- Skip the GASP section
Tuesday (10/12/10)
Warmup:
- Assume you have the following code:
x = 5
a = 8
b = a-x*2
print b
- What does the above program print?
Agenda:
- Values, data types, and variables review
- Input review
- Write a program that prompts the user to enter his/her first name and store it in a variable named fn. Your program should print out the name like so: Hello FIRSTNAME! Happy Tuesday!
- Make sure you have turned in BOTH of the following assignments:
- Introduction to Functions
Thursday - Friday (10/7/10 - 10/8/10)
Warmup:
- Identify the types for the following variables:
- 43
- 3.5
- 2
- "washington"
- "2"
- "lee"
Agenda:
Tuesday (10/5/10)
Warmup:
- Complete and submit the HTTLACS: Ch 1 exercises
- Submit via School Web Lockers
Agenda:
- Introduction to data values, variables, and etc.
- Read through How to Think Like a Computer Scientist: Chapter 2
- Complete the Values, Types, and Variables Identification assignment
- Complete the HTTLACS: Ch 2 Exercises
- Submit both to School Web Lockers
Friday - Monday (10/1/10 - 10/4/10)
Warmup:
- Research on the interwebz the following:
- Who invented the Python programming language?
- Where was it invented?
- Who funded the project to develop Python?
Agenda:
- Any missing quiz demonstrations should be shown when Mr. Bui gets back
- Introduction to Python
- Begin reading through How to Think Like a Computer Scientist: Chapter 1
- Complete the HTTLACS: Ch 1 Exercises
- Submit it all in one file to School Web Lockers