Difference between revisions of "Computer Science I"

From WLCS
(Thursday (12/11/08))
Line 26: Line 26:
 
** "lather, rinse, repeat"
 
** "lather, rinse, repeat"
 
** Write a loop that counts from 0 through 100
 
** Write a loop that counts from 0 through 100
 +
** Write a loop that counts from 25 through 83
 
** Write a loop that counts down from 100 through 0
 
** Write a loop that counts down from 100 through 0
 
** Write a loop that prints out all the even numbers
 
** Write a loop that prints out all the even numbers

Revision as of 13:02, 10 December 2008

Thursday (12/11/08)

Warmup:

  • Assume you have the following code:
x = 10
y = 5
z = (2-x)*y
if z > 0:
  print z, "is a positive number!"
elif z < 0: 
  print z, "is a negative number!"
else:
  print z, "is zero!"
  • Without using your computer, what does the above code output?

Agenda - Normal:

  • All students should have completed the following:
    • CYOA
    • CYOA Evaluations
    • HTTLACS: Ch5
  • GvR Review - while loops
  • Python while loops
    • "lather, rinse, repeat"
    • Write a loop that counts from 0 through 100
    • Write a loop that counts from 25 through 83
    • Write a loop that counts down from 100 through 0
    • Write a loop that prints out all the even numbers
  • Read HTTLACS: Ch6 sections 1 through 7
  • Complete HTTLACS: Ch6 #1-4

Agenda - IB:

Tuesday (12/9/08)

Agenda - Normal:

  • All students should have completed the following:
    • CYOA
    • CYOA Evaluations
    • HTTLACS: Ch5
  • Begin reading HTTLACS: Ch6

Agenda - IB:

Friday (12/5/08)

  • Warheads
  • Progress checks
  • Questions

Monday - Wednesday (12/1/08 - 12/3/08)

IMPORTANT:

  • Mr. Bui will be gone Monday and Wednesday, but you MUST show him the work you completed at the end of the week on Friday. The following assignments are worth twice their usual points.

Agenda - Normal:

  • Review HTTLACS: Ch5
  • Complete all the Chapter 5 exercises. Be sure to test them using doctest
  • You are encouraged to use classmates as teaching assistants. DO NOT COPY CODE (it's cheating!). TAs are ONLY allowed to guide you, and TAs are NOT allowed to type on your keyboard.

Agenda - IB:

Archives