Computer Science I

From WLCS
Revision as of 09:06, 5 November 2008 by Admin (talk | contribs) (Replacing page with '== Wednesday (11/5/08) == '''Warmup:''' * Assume you have the following code, what are the final values of a, b, and c? <source lang="python"> a = 1 b = 5 c = 10 if a == b or...')

Wednesday (11/5/08)

Warmup:

  • Assume you have the following code, what are the final values of a, b, and c?
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
  • Return assignments and 1st Quarter Exam
  • Review 1st Quarter Exam

Archives