Difference between revisions of "Computer Science I"

From WLCS
(Redirected page to Computer Science)
 
(214 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
== Tuesday (1/6/09) ==
+
#REDIRECT [[Computer Science]]
−
'''Warmup:'''
 
−
* Describe in less than ten words what you did over winter break
 
−
** Mr. Bui's example: DVDs, food, college recommendations
 
−
* Assume you have the following code:
 
−
 
 
−
<source lang="python">
 
−
i = 0
 
−
n = 1
 
−
while i < 25:
 
−
  n += 2
 
−
  i += 1
 
−
</source>
 
−
 
 
−
* WITHOUT using your computer, what are the final values of i and n?
 
−
 
 
−
'''Agenda - All:'''
 
−
* Looping warmup review
 
−
* break keyword
 
−
* Assume you have the following code:
 
−
 
 
−
<source lang="python">
 
−
i = 0
 
−
n = 1
 
−
while i < 25:
 
−
  n += 2
 
−
  if n > 10:
 
−
    break
 
−
  i += 1
 
−
</source>
 
−
 
 
−
* WITHOUT using your computer, what are the final values of i and n?
 
−
 
 
−
* Demo missing work
 
−
 
 
−
'''Agenda - Regular:'''
 
−
* [[Printing Initials Assignment]]
 
−
* [[Print Shapes Exercises]]
 
−
* [[Guessing Game Assignment]]
 
−
* HTTLACS: Ch6 #1-4
 
−
 
 
−
'''Agenda - IB:'''
 
−
* HTTLACS: Ch6 #1-4
 
−
* [[Looping Exercises]]
 
−
* Using your isPrime(x) function, write a loop that prints out the first 100 prime numbers.
 
−
* Introduction to Strings
 
−
 
 
−
== Archives ==
 
−
* [[CS1 - December]]
 
−
* [[CS1 - November]]
 
−
* [[CS1 - October]]
 
−
* [[CS1 - September]]
 

Latest revision as of 11:13, 24 August 2010

Redirect to: