IB Computer Science I

From WLCS
Revision as of 11:39, 5 November 2009 by Admin (talk | contribs)

Monday - Thursday (11/2/09 - 11/5/09)

Warmup:

  • Write a loop that prints out the first 100 even numbers

Agenda:

  • Demo HTTLACS: Ch 5 exercises
  • Introduction to Iteration
    • Complete HTTLACS: Ch 6 exercises #1-6 - DO NOT submit to SchoolWebLockers
  • Practice Exercise #1
    • Prompt the user two choices: odd or even
      • Example: Would you like odd/even?
    • Prompt the user for a number and store it in a variable n
    • If the user chooses odd, then print out the first n odd numbers (starting at 1) using a loop
    • If the user chooses even, then print out the first n even numbers (starting at 2) using a loop
  • Practice Exercise #2
    • Print out all the numbers that are divisible by 6 from 0 through 100
  • Guessing Game Assignment

Tuesday - Friday (10/27/09 - 10/30/09)

  • Complete the HTTLACS: Ch 4 GASP exercise and demo to Mr. Bui
  • Work through HTTLACS: Ch 5 and by work through, Mr. Bui means that you should try out all the code.
  • Complete the HTTLACS: Ch 5 exercises

Monday (10/26/09)

  • 1st Quarter Exam

Friday (10/23/09)

Monday - Thursday (10/19/09 - 10/22/09)

Warmup:

  • What does the following code print?
x = 9
y = 10
z = 4

if x < y:
  if z < 0:
    print "Washington"
  else:
    print "Lee"
else:
  print "Generals"

Agenda:

Thursday (10/15/09)

Warmup:

  • What do the following conditions evaluate to?
not(False)
True or False
False and False
True and False
not(True or False)
True or True
False and True
False or True
not(False) and True
not(True) or False
not(True) or True

Agenda:

Tuesday - Wednesday (10/13/09 - 10/14/09)

Thursday - Friday (10/7/09 - 10/8/09)

Warmup:

  • Create a python script that prompts the user for three integer variables: month, day, and year
  • Print your birthday using the variables
  • Your birthday should use the following format: M/D/Y

Agenda:

Monday - Tuesday (10/5/09 - 10/6/09)

Thursday (10/1/09)

Archives