CS1 - 0910 - December

From WLCS

Monday - Friday (12/21/09 - 1/1/10)

  • Winter Break

Wednesday - Friday (12/16/09 - 12/18/09)

Warmup:

  • Write a while loop that goes from 0 up to but not including 100 (do not print!)
  • Inside the loop, use an if-statement to check if the loop counter variable is greater than 35 and less than 65. If so, then print the variable

Agenda:

Monday (12/14/09)

Warmup:

  • Write a loop that prints out the first 50 odd numbers

Agenda:

Tuesday - Thursday (12/8/09 - 12/10/09)

Warmup:

Regular:

  • Introduction to Iteration
  • Exercise 1
    • Write a loop that displays the numbers from 1 through 12
  • Exercise 2
    • Write a loop that displays the numbers from 100 down to 50
  • Exercise 3
    • Write a loop that prints "All work and no play makes Jack a dull boy" 1000 times
  • Exercise 4
    • Write a loop that adds up all the numbers from 1 to 10 and displays the result

IB:

Wednesday - Friday (12/2/09 - 12/4/09)

Regular:

IB:

Archives