Difference between revisions of "CS1 - January"

From WLCS
(Removing all content from page)
Line 1: Line 1:
<!--
 
== Friday (1/30/09) ==
 
'''Agenda - Regular:'''
 
* [[Looping Exercises]]
 
* Introduction to Strings
 
  
'''Agenda - IB:'''
 
* [[E-mail Harvester Assignment]]
 
* [[Pig Latin Translator]]
 
* HTTLACS: Ch 7 #7-10
 
 
== Monday (1/26/09) ==
 
'''Warmup:'''
 
* Print the first N terms of the following sequence: 1, 3, 6, 10, 15
 
* HINT: The above sequence are triangle numbers (Ch. 6 #4)
 
 
'''Agenda - Regular:'''
 
* Return papers and exams
 
* [[Looping Exercises]]
 
 
'''Agenda - IB:'''
 
* Return papers and exams
 
* [[E-mail Harvester Assignment]]
 
* [[Pig Latin Translator]]
 
 
== Thursday (1/22/09) ==
 
'''Warmup:'''
 
* Write out a loop that prints out the first N terms of the following sequence: 0, 6, 12, 18, 24, ...
 
 
'''Agenda - Regular:'''
 
* HTTLACS: Ch6 #1-4 - Print out and turn in when complete
 
* [[Looping Exercises]]
 
 
'''Agenda - IB:'''
 
* [[Looping Exercises]]
 
* [[E-mail Harvester Assignment]]
 
* [[Pig Latin Translator]]
 
 
== Friday (1/16/09) ==
 
'''Warmup:'''
 
* Describe in less than ten words what you did over winter break
 
** Mr. Bui's example: DVDs, food, college recommendations
 
* Assume you have the following code:
 
 
<source lang="python">
 
x = 5
 
z = 10
 
while x >= 0:
 
  x -= 1
 
  z += 2
 
</source>
 
 
* WITHOUT using your computer, what are the final values of x and z?
 
 
'''Agneda:'''
 
* Demo missing work
 
 
== Wednesday (1/14/09) ==
 
* 2nd Quarter Exam
 
** Closed-book part - 15-30 minutes
 
** Open-book part - 30-40 minutes
 
*** [[CS1 2nd Quarter Exam]]
 
*** [[IB CS1 2nd Quarter Exam]]
 
 
== Monday (1/12/09) ==
 
* Demo missing work
 
* 2nd Quarter Exam Review
 
** Variables, expressions, and statements
 
** Functions
 
*** function header
 
*** function definitions
 
*** function calls
 
*** parameters
 
*** return statements
 
** Conditionals
 
*** Boolean values and variables
 
*** modulus (%) operator
 
*** comparison operators (e.g., <, >)
 
*** logical operators (e.g., and, or)
 
*** Boolean conditional expressions (e.g., 2 > x and y < 3)
 
*** if statements
 
*** if-elif-else statements
 
** Iteration (looping)
 
*** while and for loops
 
*** counter variables
 
*** infinite loops
 
*** break
 
** Strings
 
*** [] operator
 
*** len() function
 
*** string slices
 
*** string traversal (strings + loops)
 
 
== Thurdsay (1/8/09) ==
 
* Demo missing work
 
 
'''Agenda - Regular:'''
 
* [[Printing Initials Assignment]]
 
* [[Print Shapes Exercises]]
 
* [[Guessing Game Assignment]]
 
* HTTLACS: Ch6 #1-4 - Print out and turn in when complete
 
 
'''Agenda - IB:'''
 
* HTTLACS: Ch6 #1-4 - Print out and turn in when complete
 
* [[Looping Exercises]]
 
* Introduction to Strings
 
* Complete HTTLACS: Ch7 #1, 2, 5, 6 - Print out and turn in when complete
 
* [[E-mail Harvester Assignment]] - Demo to Mr. Bui
 
* [[Pig Latin Translator]]
 
 
== Tuesday (1/6/09) ==
 
'''Warmup:'''
 
* Describe in less than ten words what you did over winter break
 
** Mr. Bui's example: DVDs, food, college recommendations
 
* Assume you have the following code:
 
 
<source lang="python">
 
i = 0
 
n = 1
 
while i < 25:
 
  n += 2
 
  i += 1
 
</source>
 
 
* WITHOUT using your computer, what are the final values of i and n?
 
 
'''Agenda - All:'''
 
* Looping warmup review
 
* break keyword
 
* Assume you have the following code:
 
 
<source lang="python">
 
i = 0
 
n = 1
 
while i < 25:
 
  n += 2
 
  if n > 10:
 
    break
 
  i += 1
 
</source>
 
 
* WITHOUT using your computer, what are the final values of i and n?
 
 
* Demo missing work
 
 
'''Agenda - Regular:'''
 
* [[Printing Initials Assignment]]
 
* [[Print Shapes Exercises]]
 
* [[Guessing Game Assignment]]
 
* HTTLACS: Ch6 #1-4
 
 
'''Agenda - IB:'''
 
* HTTLACS: Ch6 #1-4
 
* [[Looping Exercises]]
 
* Introduction to Strings
 
* Complete HTTLACS: Ch7 #1, 2, 5, 6
 
* [[E-mail Harvester Assignment]]
 
 
== Archives ==
 
* [[CS1 - December]]
 
* [[CS1 - November]]
 
* [[CS1 - October]]
 
* [[CS1 - September]]
 
-->
 

Revision as of 14:22, 21 October 2009