Difference between revisions of "IBCS1 - February"

From WLCS
(Removing all content from page)
Line 1: Line 1:
 +
== Tuesday - Friday (2/23/10 - 2/26/10) ==
 +
'''Warmup:'''
 +
# Create an empty list named randList
 +
# Using a loop that runs 100 times, append 100 random numbers (0-100) to randList
 +
# Using another loop and an additional variable, traverse the list and sum up all the numbers
 +
# Print out the sum
  
 +
'''Agenda:'''
 +
* List Review
 +
* HTTLACS: Ch9 #1-5
 +
* [[List Exercises]]
 +
* Extra Credit: Sign up and help out with [http://tatalonline.blogspot.com/ Gotta Gadget]
 +
** March 9 from 4:30-6:30 at Central Library
 +
 +
== Monday (2/22/10) ==
 +
'''Warmup:'''
 +
# Create an empty list named randList
 +
# Using a loop that runs 100 times, append 100 random numbers (0-100) to randList
 +
# Using another loop, print out only the odd numbers
 +
 +
'''Agenda:'''
 +
* List Review
 +
* HTTLACS: Ch9 #1-5
 +
* [[List Exercises]]
 +
 +
== Friday (2/19/10) ==
 +
'''Warmup:'''
 +
# Create an empty list named randList
 +
# Using a loop that runs 100 times, append 100 random numbers (0-100) to randList
 +
# Using another loop, count the number of random numbers in the list that are over 50
 +
# Print the count
 +
 +
'''Agenda:'''
 +
* List Review
 +
* HTTLACS: Ch9 #1-5
 +
* [[List Exercises]]
 +
 +
== Tuesday - Thursday (2/16/10 - 2/18/10) ==
 +
'''Warmup:'''
 +
# Create a new program named gaspReview.py
 +
# Open a graphics window
 +
# Display a circle on the screen and save it as a variable named c
 +
#* Be sure to create x and y variable coordinates for it
 +
# Create a while loop that moves the circle across the screen to the right
 +
#* If the circle's x-coordinate moves beyond the right side, change it's x-coordinate to 0
 +
#* Randomize the y-coordinate between 0 and 600
 +
# Test out the program, if it runs, then try adding 2 more circles that have different speeds
 +
 +
'''Agenda:'''
 +
* You will demo the above warmup at beginning of next class
 +
* Demo [[Robot game]]
 +
* Introduction to Lists
 +
** HTTLACS: Ch9 #1-5
 +
 +
== Wednesday - Friday (2/3/10 - 2/12/10) ==
 +
* Snowpacolypsegeddon!
 +
 +
== Archives ==
 +
* [[IBCS1 - May]]
 +
* [[IBCS1 - April]]
 +
* [[IBCS1 - March]]
 +
* [[IBCS1 - February]]
 +
* [[IBCS1 - January]]
 +
* [[IBCS1 - December]]
 +
* [[IBCS1 - November]]
 +
* [[IBCS1 - October]]
 +
* [[IBCS1 - September]]

Revision as of 10:10, 3 May 2010

Tuesday - Friday (2/23/10 - 2/26/10)

Warmup:

  1. Create an empty list named randList
  2. Using a loop that runs 100 times, append 100 random numbers (0-100) to randList
  3. Using another loop and an additional variable, traverse the list and sum up all the numbers
  4. Print out the sum

Agenda:

  • List Review
  • HTTLACS: Ch9 #1-5
  • List Exercises
  • Extra Credit: Sign up and help out with Gotta Gadget
    • March 9 from 4:30-6:30 at Central Library

Monday (2/22/10)

Warmup:

  1. Create an empty list named randList
  2. Using a loop that runs 100 times, append 100 random numbers (0-100) to randList
  3. Using another loop, print out only the odd numbers

Agenda:

Friday (2/19/10)

Warmup:

  1. Create an empty list named randList
  2. Using a loop that runs 100 times, append 100 random numbers (0-100) to randList
  3. Using another loop, count the number of random numbers in the list that are over 50
  4. Print the count

Agenda:

Tuesday - Thursday (2/16/10 - 2/18/10)

Warmup:

  1. Create a new program named gaspReview.py
  2. Open a graphics window
  3. Display a circle on the screen and save it as a variable named c
    • Be sure to create x and y variable coordinates for it
  4. Create a while loop that moves the circle across the screen to the right
    • If the circle's x-coordinate moves beyond the right side, change it's x-coordinate to 0
    • Randomize the y-coordinate between 0 and 600
  5. Test out the program, if it runs, then try adding 2 more circles that have different speeds

Agenda:

  • You will demo the above warmup at beginning of next class
  • Demo Robot game
  • Introduction to Lists
    • HTTLACS: Ch9 #1-5

Wednesday - Friday (2/3/10 - 2/12/10)

  • Snowpacolypsegeddon!

Archives