Difference between revisions of "IBCS1 - 0910 - November"

From WLCS
(Created page with "== Monday - Friday (11/30/09 - 12/4/09) == '''Warmup:''' * Assume you have the following code: <source lang="python"> s = "" x = 0 while x < 5: s = s + "a" x = x + 1 print s...")
 
(Monday (11/23/09))
 
(One intermediate revision by the same user not shown)
Line 29: Line 29:
 
'''Agenda:'''
 
'''Agenda:'''
 
* Draw the turkey using the GASP functions
 
* Draw the turkey using the GASP functions
* [[Media:RandomDemo.java]]
 
* [[Media:JavaIOExample.java]]
 
  
 
== Monday - Friday (11/16/09 - 11/20/09) ==
 
== Monday - Friday (11/16/09 - 11/20/09) ==
Line 65: Line 63:
  
 
== Archives ==
 
== Archives ==
 +
* [[IBCS1 - 0910 - June]]
 
* [[IBCS1 - 0910 - May]]
 
* [[IBCS1 - 0910 - May]]
 
* [[IBCS1 - 0910 - April]]
 
* [[IBCS1 - 0910 - April]]

Latest revision as of 12:09, 17 November 2010

Monday - Friday (11/30/09 - 12/4/09)

Warmup:

  • Assume you have the following code:
s = ""
x = 0
while x < 5:
  s = s + "a"
  x = x + 1
print s
  • What is printed out after the code executes? (DO NOT USE A COMPUTER)

Agenda:

Monday (11/23/09)

Warmup:

  • Breakfast
  • Take out a sheet of paper and draw a coordinate plane with x and y axes.
  • The x-axis should go from 0 to 640
  • The y-axis should go from 0 to 480
  • Draw the turkey on the board or something like it
  • Estimate the major points (x,y) for the turkey

Agenda:

  • Draw the turkey using the GASP functions

Monday - Friday (11/16/09 - 11/20/09)

Monday - Friday (11/9/09 - 11/13/09)

Monday - Friday (11/2/09 - 11/6/09)

Warmup:

  • Write a loop that prints out the first 100 even numbers

Agenda:

  • Demo HTTLACS: Ch 5 exercises
  • Introduction to Iteration
    • Complete HTTLACS: Ch 6 exercises #1-6 - 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

Archives