Difference between revisions of "Computer Science I"

From WLCS
(Redirected page to Computer Science)
 
(246 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Wednesday (11/5/08) ==
+
#REDIRECT [[Computer Science]]
'''Warmup:'''
 
* Take out a sheet of scratch paper and trace the code below.  You should be writing down the values of different variables as they change
 
* What are the final values of a, b, and c?
 
 
 
 
 
<source lang="python">
 
a = 1
 
b = 5
 
c = 10
 
 
 
if a == b or b < c:
 
    temp = c - b
 
    if temp >= b:
 
        a = 3
 
    else:
 
        a = 2
 
else:
 
    b = 10 - a
 
    a = 2*a
 
</source>
 
 
 
 
 
'''Agenda:'''
 
* Return assignments and 1st Quarter Exam
 
* Review 1st Quarter Exam
 
* [[Geek Flow Chart Assignment]]
 
* Read through HTTLACS: Ch 5 and complete the exercises
 
 
 
== Archives ==
 
* [[CS1 - October]]
 
* [[CS1 - September]]
 

Latest revision as of 11:13, 24 August 2010

Redirect to: