Difference between revisions of "CS1 - April"

From WLCS
(Blanked the page)
 
Line 1: Line 1:
== Tuesday - Thursday (4/27/10 - 4/29/10) ==
 
'''Regular - Warmup:'''
 
# s = "Washington-Lee"
 
# Create a variable named new_s that contains an empty string
 
# Write a while loop that traverses the s string from len(s)-1 down through 0 using a counter variable x
 
## Inside the while loop, add the current letter of s[x] to new_s
 
## Decrement x by 1
 
# Print new_s
 
  
'''Regular:'''
 
* Demo [[Python String Exercises]]
 
* Demo [[E-mail Harvester Assignment]]
 
* Complete HTTLACS: Ch7 #5-8
 
 
'''IB:'''
 
* Switch to the IB CS 1 page
 
 
== Wednesday - Friday (4/21/10 - 4/23/10) ==
 
'''Regular:'''
 
* Demo [[Python String Exercises]]
 
* Demo [[E-mail Harvester Assignment]]
 
* Complete HTTLACS: Ch7 #5-8
 
 
'''IB:'''
 
* [[Media:MathDemo.java]]
 
* Keyboard input in Java
 
** [[Media:ConsoleInput.java]]
 
** [[Media:ConsoleInputExample.java]]
 
* Try completing the following programs in Java
 
** [[Quadratic Formula Assignment]]
 
** [[MPAA calculator assignment]]
 
** [[Guessing Game Assignment]] (HINT: Look up online how to do random numbers in Java)
 
** [[Print Shapes Exercises]]
 
** [[Printing Initials Assignment]]
 
** [[Looping Exercises]]
 
 
== Monday (4/19/10) ==
 
'''Regular - Warmup:'''
 
* Assume you have the following code:
 
 
<source lang="python">
 
s = ""
 
x = 0
 
while x < 5:
 
  s = s + "a"
 
  x = x + 1
 
print s
 
</source>
 
 
* What is printed out after the code executes?  (DO NOT USE A COMPUTER)
 
 
'''Regular:'''
 
* Demo [[Python String Exercises]]
 
* Demo [[E-mail Harvester Assignment]]
 
* Complete HTTLACS: Ch7 #5-8
 
 
'''IB:'''
 
* [[Media:MathDemo.java]]
 
* Keyboard input in Java
 
** [[Media:ConsoleInput.java]]
 
** [[Media:ConsoleInputExample.java]]
 
* Try completing the following programs in Java
 
** [[Quadratic Formula Assignment]]
 
** [[MPAA calculator assignment]]
 
** [[Guessing Game Assignment]] (HINT: Look up online how to do random numbers in Java)
 
** [[Print Shapes Exercises]]
 
** [[Printing Initials Assignment]]
 
** [[Looping Exercises]]
 
 
== Tuesday - Thursday (4/13/10 - 4/15/10) ==
 
'''Regular:'''
 
* Demo [[Python String Exercises]]
 
* Complete [[E-mail Harvester Assignment]]
 
 
'''IB:'''
 
* [[Media:MathDemo.java]]
 
* Keyboard input in Java
 
** [[Media:ConsoleInput.java]]
 
** [[Media:ConsoleInputExample.java]]
 
* Try completing the following programs in Java
 
** [[Quadratic Formula Assignment]]
 
** [[MPAA calculator assignment]]
 
** [[Guessing Game Assignment]] (HINT: Look up online how to do random numbers in Java)
 
** [[Print Shapes Exercises]]
 
** [[Printing Initials Assignment]]
 
** [[Looping Exercises]]
 
 
== Monday - Friday (4/5/10 - 4/9/10) ==
 
'''Warmup - Regular:'''
 
* Create a string variable s that contains the word "WARMUP!!!!!"
 
* Create a loop counter variable named x that starts at 0
 
* Write a loop that iterates while x is less than len(s)
 
** Print out each letter in s three times (print s[x]*3)
 
** Increment x
 
 
'''Warmup - IB:'''
 
* Open a terminal
 
* Review terminal navigation commands (ls, cd DIRECTORY, cd ..)
 
 
'''Agenda:'''
 
'''Regular:'''
 
* Introduction to Strings
 
* [[Python String Exercises]]
 
* [[E-mail Harvester Assignment]]
 
 
'''IB:'''
 
* Introduction to Java
 
 
== Monday (4/5/10) ==
 
'''Warmup - Regular:'''
 
# Initialize a variable x to 0
 
# Write a while loop that runs while x is less than 25
 
## print out x in the loop
 
## Increment x by 1
 
 
'''Warmup - IB:'''
 
# Initialize a string variable to "Welcome Back!"
 
# Using a while loop, print every other character in the string
 
 
'''Regular:'''
 
* Introduction to Strings
 
* [[E-mail Harvester Assignment]]
 
 
'''IB:'''
 
* Bring up what you were working on before
 
* Progress update
 
 
== Archives ==
 
* [[CS1 - June]]
 
* [[CS1 - May]]
 
* [[CS1 - April]]
 
* [[CS1 - March]]
 
* [[CS1 - February]]
 
* [[CS1 - January]]
 
* [[CS1 - December]]
 
* [[CS1 - November]]
 
* [[CS1 - October]]
 
* [[CS1 - September]]
 

Latest revision as of 20:34, 1 September 2010