|
|
(82 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | == Monday (11/23/09) ==
| + | #REDIRECT [[Computer Science]] |
− | '''Warmup:'''
| |
− | * Take out a sheet of paper and draw a coordinate plane with x and y axes.
| |
− | * The x-axis should go from 0 to 800
| |
− | * The y-axis should go from 0 to 600
| |
− | * Draw the turkey on the board or something like it
| |
− | * Estimate the major points (x,y) for the turkey
| |
− | | |
− | '''Regular:'''
| |
− | * Introduction to GASP
| |
− | ** Walk through the GASP example
| |
− | * Draw the turkey using the GASP functions
| |
− | | |
− | '''IB:'''
| |
− | * Make a function that draws the turkey at a particular location
| |
− | * Use a loop to draw a bunch of turkeys
| |
− | | |
− | == Thursday (11/19/09) ==
| |
− | '''Warmup:'''
| |
− | * Regular - Define a function named giveMeFive() that returns the value 5
| |
− | * IB - Begin looking over Ch 6
| |
− | | |
− | '''Regular:'''
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | * Work through HTTLACS: Ch 5 and by work through, Mr. Bui means that you should try out all the code.
| |
− | * Complete the HTTLACS: Ch 5 exercises and demo them
| |
− | | |
− | '''IB:'''
| |
− | * Introduction to Iteration
| |
− | ** Complete HTTLACS: Ch 6 exercises #1-5 - DO NOT submit to SchoolWebLockers
| |
− | * Practice Exercise #1
| |
− | ** Prompt the user two choices: odd or even
| |
− | *** Example: Would you like odd/even?
| |
− | ** Prompt the user for a number and store it in a variable n
| |
− | ** If the user chooses odd, then print out the first n odd numbers (starting at 1) using a loop
| |
− | ** If the user chooses even, then print out the first n even numbers (starting at 0) using a loop
| |
− | * Practice Exercise #2
| |
− | ** Print out all the numbers that are divisible by 6 from 0 through 100
| |
− | * [[Guessing Game Assignment]]
| |
− | | |
− | == Tuesday (11/17/09) ==
| |
− | '''Regular:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers. This should be done NOW.
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | * Work through HTTLACS: Ch 5 and by work through, Mr. Bui means that you should try out all the code.
| |
− | * Complete the HTTLACS: Ch 5 exercises and demo them
| |
− | | |
− | '''IB:'''
| |
− | * Work through HTTLACS: Ch 5 and by work through, Mr. Bui means that you should try out all the code.
| |
− | * Complete the HTTLACS: Ch 5 exercises and demo them
| |
− | * Introduction to Iteration
| |
− | ** Complete HTTLACS: Ch 6 exercises #1-5 - DO NOT submit to SchoolWebLockers
| |
− | * Practice Exercise #1
| |
− | ** Prompt the user two choices: odd or even
| |
− | *** Example: Would you like odd/even?
| |
− | ** Prompt the user for a number and store it in a variable n
| |
− | ** If the user chooses odd, then print out the first n odd numbers (starting at 1) using a loop
| |
− | ** If the user chooses even, then print out the first n even numbers (starting at 0) using a loop
| |
− | * Practice Exercise #2
| |
− | ** Print out all the numbers that are divisible by 6 from 0 through 100
| |
− | * [[Guessing Game Assignment]]
| |
− | | |
− | == Friday (11/13/09) ==
| |
− | '''Warmup:'''
| |
− | * The lab has been fixed. Fix your preferences and bookmark the class website.
| |
− | | |
− | '''Regular:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers. This should be done NOW.
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | '''IB:'''
| |
− | * Work through HTTLACS: Ch 5 and by work through, Mr. Bui means that you should try out all the code.
| |
− | * Complete the HTTLACS: Ch 5 exercises
| |
− | | |
− | == Tuesday (11/10/09) ==
| |
− | '''Warmup:'''
| |
− | * What do the following conditions evaluate to? (Hint: Remember how we use AND, OR, and NOT in English)
| |
− | | |
− | <source lang="Python">
| |
− | not(False)
| |
− | True or False
| |
− | False and False
| |
− | True and False
| |
− | not(True or False)
| |
− | True or True
| |
− | False and True
| |
− | False or True
| |
− | not(False) and True
| |
− | not(True) or False
| |
− | not(True) or True
| |
− | </source>
| |
− | | |
− | '''Regular:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers. This should be done NOW.
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | '''IB:'''
| |
− | * Work through HTTLACS: Ch 5 and by work through, Mr. Bui means that you should try out all the code.
| |
− | * Complete the HTTLACS: Ch 5 exercises
| |
− | | |
− | == Friday (11/6/09) ==
| |
− | '''Warmup:'''
| |
− | * What does the following code print?
| |
− | | |
− | <source lang="Python">
| |
− | x = 9
| |
− | y = 10
| |
− | z = 4
| |
− | | |
− | if x < y:
| |
− | if z < 0:
| |
− | print "Washington"
| |
− | else:
| |
− | print "Lee"
| |
− | else:
| |
− | print "Generals"
| |
− | </source>
| |
− | | |
− | '''Agenda:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Wednesday (11/4/09) ==
| |
− | '''Warmup:'''
| |
− | * Prompt the user for their grade (9-12)
| |
− | * Check if they are in 9th grade, if so, then print "You are a freshman"
| |
− | * Check if they are in 10th grade, if so, then print "You are a sophomore
| |
− | * Check if they are in 11th grade, if so, then print "You are a junior"
| |
− | * Check if they are in 12th grade, if so, then print "You are a senior"
| |
− | | |
− | '''Agenda:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Friday (10/30/09) ==
| |
− | '''Warmup:'''
| |
− | * Prompt the user for their age and store it in a variable
| |
− | * Write an if-statement that checks the age variable to see if it is less than 18
| |
− | ** If the age is less than 18, then print "You are still a minor"
| |
− | ** else, print "The courts recognize you as an adult!...uh oh"
| |
− | | |
− | '''Regular:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers
| |
− | * [[MPAA calculator assignment]]
| |
− | | |
− | '''IB:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Wednesday (10/28/09) ==
| |
− | * 1st Quarter Exam
| |
− | | |
− | '''Regular:'''
| |
− | * Complete the HTTLACS: Chapter 3 Exercises and upload to SchoolWebLockers
| |
− | * Introduction to Python Conditionals (if-statement)
| |
− | ** [http://openbookproject.net/thinkcs/python/english2e/ch04.html How to Think Like a Computer Scientist: Chapter 4]
| |
− | ** [[Media:BooleanLogic.ppt]]
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers
| |
− | * [[MPAA calculator assignment]]
| |
− | | |
− | '''IB:'''
| |
− | * Complete the HTTLACS: Chapter 4 Exercises #1-5 and upload to SchoolWebLockers
| |
− | * [[MPAA calculator assignment]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Monday (10/26/09) ==
| |
− | * 1st Quarter Exam Review
| |
− | ** HTTLACS: Ch 1-3
| |
− | * [[Quadratic Formula Assignment]]
| |
− | * [http://openbookproject.net/thinkcs/python/english2e/ch03.html How to Think Like a Computer Scientist: Chapter 3]
| |
− | * Complete the HTTLACS: Chapter 3 Exercises and upload to SchoolWebLockers
| |
− | | |
− | == Thursday (10/22/09) ==
| |
− | '''Warmup:'''
| |
− | * Define a function named timesFive(x) that takes one x parameter
| |
− | * In the function body, have timesFive() print out the product of x times 5
| |
− | | |
− | '''Agenda:'''
| |
− | * [[Quadratic Formula Assignment]]
| |
− | * [http://openbookproject.net/thinkcs/python/english2e/ch03.html How to Think Like a Computer Scientist: Chapter 3]
| |
− | * Complete the HTTLACS: Chapter 3 Exercises and upload to SchoolWebLockers
| |
− | | |
− | == Tuesday (10/20/09) ==
| |
− | '''Agenda:'''
| |
− | * [[Quadratic Formula Assignment]]
| |
− | * Introduction to Python Functions
| |
− | * [http://openbookproject.net/thinkcs/python/english2e/ch03.html How to Think Like a Computer Scientist: Chapter 3]
| |
− | * Complete the HTTLACS: Chapter 3 Exercises and upload to SchoolWebLockers
| |
− | | |
− | == Thursday (10/16/09) ==
| |
− | '''Warmup:'''
| |
− | * Prompt the user for numerical input and store it in two variables: x and y
| |
− | * Print the result of x to the y power (Hint: ** is used to take numbers to powers)
| |
− | | |
− | '''Agenda:'''
| |
− | * [[Quadratic Formula Assignment]]
| |
− | | |
− | == Friday - Wednesday (10/9/09 - 10/14/09) ==
| |
− | '''Warmup:'''
| |
− | * Please complete this [https://spreadsheets.google.com/viewform?formkey=dGx5Uy1JVGRXcDNJV0NHOEJvZ21vX2c6MA password request form]
| |
− | | |
− | * 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:'''
| |
− | * Make sure that you have submitted in HTTLACS: Ch 1 & 2 Exercises via SchoolWebLockers
| |
− | * 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]]
| |
− | | |
− | == Monday - Wednesday (10/5/09 - 10/7/09) ==
| |
− | * GvR Demo Steps 11-13
| |
− | * [[GvR Steps 1-13 Quiz]]
| |
− | * Introduction to Python
| |
− | * [http://openbookproject.net/thinkcs/python/english2e/ch01.html How to Think Like a Computer Scientist: Chapter 1]
| |
− | * Complete the HTTLACS: Chapter 1 Exercises and upload to SchoolWebLockers
| |
− | * [http://openbookproject.net/thinkcs/python/english2e/ch02.html HTTLACS: Ch 2]
| |
− | * Complete the HTTLACS: Chapter 2 Exercises and upload to SchoolWebLockers
| |
− | | |
− | == Thursday (10/1/09) ==
| |
− | * Review GvR Steps 1-13
| |
− | * GvR Demo Steps 11-13
| |
− | * [[GvR Steps 1-13 Quiz]]
| |
− | * Continue with GvR Steps 14-17
| |
− | * IB-paced students should go to [[IB Computer Science I]]
| |
− | | |
− | == Archives ==
| |
− | * [[CS1 - June]]
| |
− | * [[CS1 - May]]
| |
− | * [[CS1 - April]]
| |
− | * [[CS1 - March]]
| |
− | * [[CS1 - February]]
| |
− | * [[CS1 - January]]
| |
− | * [[CS1 - December]]
| |
− | * [[CS1 - November]]
| |
− | * [[CS1 - October]]
| |
− | * [[CS1 - September]]
| |