Difference between revisions of "IB Computer Science I"
From WLCS
Line 1: | Line 1: | ||
+ | == Friday (12/12/08) == | ||
+ | '''Warmup:''' | ||
+ | * Assume you have the following code: | ||
+ | |||
+ | <source lang="python"> | ||
+ | s = "" | ||
+ | x = 0 | ||
+ | while x < 5: | ||
+ | s = s + "a" | ||
+ | x = x + 1 | ||
+ | print s | ||
+ | </source> | ||
+ | |||
+ | * What is printed out after the code executes? (DO NOT USE A COMPUTER) | ||
+ | |||
+ | '''Agenga:''' | ||
+ | * Complete HTTLACS: Ch7 #1,2, 5-10 | ||
+ | |||
== Wednesday (12/10/08) == | == Wednesday (12/10/08) == | ||
* Introduction to Strings | * Introduction to Strings |
Revision as of 14:21, 12 December 2008
Contents
Friday (12/12/08)
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)
Agenga:
- Complete HTTLACS: Ch7 #1,2, 5-10
Wednesday (12/10/08)
- Introduction to Strings
Monday (12/8/08)
Warmup:
- Using your isPrime(x) function, write a loop that prints out the first 100 prime numbers.
Agenda:
- Progress checks
- Catch-up / turn in all missing work - End of interim grades
Thursday (12/4/08)
- Looping Exercises & Print Shapes Exercises progress check
Tuesday (12/2/08)
- Review your TriangleNumbers exercise
- Complete Looping Exercises
- This must be completed by the end of the day
- Complete Print Shapes Exercises
- This must be completed by the end of the day
- Go back and complete Exercises # 5-9 of HTTLACS: Ch6
- You should be working on #6 or 7 by the end of the day