Difference between revisions of "IBCS1 - 0910 - February"
From WLCS
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Tuesday - Friday (2/23/10 - 2/26/10) == | == Tuesday - Friday (2/23/10 - 2/26/10) == | ||
'''Warmup:''' | '''Warmup:''' |
Latest revision as of 11:59, 29 November 2010
Contents
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 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!