Computer Science
From WLCS
Contents
Tuesday (12/7/10)
Warmup:
- Write a loop that runs 30 times (using x as a counter variable)
- Inside the loop, print x*" ","*"
- Don't forget to increment your counter variable
- Write another loop that runs from 30 down to 0
- Inside the loop, print x*" ","*"
- Don't forget to decrement your counter variable
Agenda:
- IBCS1 course code change sign-up
- Looping Exercises
- Introduction to GASP (graphics with Python)
- Looping with GASP Exercises
Monday (12/6/10)
Warmup:
- Initialize a counter variable i to 1
- Create another variable old_i that starts at 1 also
- Create a loop that runs up to 1000
- print out i and old_i on the same line (use a comma)
- save i into old_i
- increment i
- What happens when you execute the above code?
Agenda:
- IBCS1 course code change sign-up
- Looping Exercises
- Introduction to GASP (graphics with Python)
- Looping with GASP Exercises
Friday (12/3/10)
Warmup:
- Initialize a counter variable i to 1
- Create another variable old_i that starts at 1 also
- Create a loop that runs up to 1000
- print out i and old_i
- save i into old_i
- increment i
- What happens when you execute the above code?
Agenda:
Thursday (12/2/10)
Warmup:
- Prompt the user for a number N
- Initialize a counter variable named i to 0
- Using a loop, print out all the numbers up to N
Agenda:
- Early release today
- Demo missing Print Shapes Exercises
- Looping Exercises
- Introduction to GASP (graphics with Python)
- Looping with GASP Exercises
Wednesday (12/1/10)
Warmup:
- Create a loop counter variable i that starts at 0
- Write a loop that counts down from 0 through -10 (What would the condition be?)
- Print i inside the loop
- Don't forget to decrement i!
Agenda:
- Demo missing Chapter 5 Exercises
- Guessing Game Assignment
- Print Shapes Exercises