Difference between revisions of "Computer Science I"
From WLCS
Line 2: | Line 2: | ||
You may find the old CS1 website here: [http://www.paulbui.net/wl/cs1 CS1_0708] | You may find the old CS1 website here: [http://www.paulbui.net/wl/cs1 CS1_0708] | ||
+ | |||
+ | == Tuesday (10/21/08) == | ||
+ | '''Warmup:''' | ||
+ | * Assume you have the following code: | ||
+ | |||
+ | <source lang="python"> | ||
+ | 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! | ||
+ | </source> | ||
+ | |||
+ | * Identify the 3 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 [http://openbookproject.net/thinkcs/python/english2e/ch04.xhtml HTTLACS: Ch4] completely. Read through and complete the Ch 4 exercises of HTTLACS | ||
== Friday (10/17/08) == | == Friday (10/17/08) == |
Revision as of 08:15, 21 October 2008
Welcome to the Computer Science I Homepage!
You may find the old CS1 website here: CS1_0708
Contents
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 3 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)