Difference between revisions of "Computer Science I"

From WLCS
(Tuesday (10/21/08))
(Tuesday (10/21/08))
Line 10: Line 10:
 
x = input("Please enter a number: ")
 
x = input("Please enter a number: ")
  
if (x < 100)
+
if x < 100
 
     print x, is less than 100!
 
     print x, is less than 100!
 
else:
 
else:

Revision as of 09:00, 21 October 2008

Welcome to the Computer Science I Homepage!

You may find the old CS1 website here: CS1_0708

Tuesday (10/21/08)

Warmup:

  • Assume you have the following code:
x = input("Please enter a number: ")

if x < 100
    print x, is less than 100!
else:
    print x, is greater than or equal to 100!
  • Identify the syntax errors in the code above.

Agenda:

  • IB-paced students should follow along the IB CS I website and check to see where they should be
    • If you keep up with the IB-paced students, then your code will be switched mid-year
    • As of today, you should have completed the Ch 4 exercises, the Geek Flow Chart Assignment, and are beginning to read Ch 5
    • If you are slightly behind, then use today to catch up
  • Go through HTTLACS: Ch4 completely. Read through and complete the Ch 4 exercises of HTTLACS

Friday (10/17/08)

Warmup:

  • Define a function printNumFiveTimes(x) that takes one parameter x
  • In the function body of printNumFiveTimes(x), print x five times

Agenda:

  • English language if review
  • Guido if review
  • Python If Overview
  • Go through HTTLACS: Ch4 completely. Read through and complete the Ch 4 exercises of HTTLACS

Wednesday (10/15/08)

  • PSATS - NO CLASS

Monday (10/13/08)

Thursday (10/9/08)

Tuesday (10/7/08)

Warmup:

  • Create a python script that has three variables: month, day, and year
  • Store your birthday in the aforementioned variables
  • Print your birthday using the variables
  • Your birthday should use the following format: M/D/Y

Agenda:

  • User input!
    • Let's add some user input to your warmup
    • Instead of hard-coding the month, day, and year variables, prompt the user for input three times and store the user's input in the variables
  • Quadratic Formula Assignment
  • Math function review
  • Guido define review
  • Python Functions Overview
  • Go through HTTLACS: Ch3 completely. Read through and complete the Ch 3 exercises of HTTLACS

Friday (10/3/08)

  • HTTLACS: Ch2 Overview
  • Read through HTTLACS: Ch2
  • Complete the HTTLACS: Ch2 Exercises by Friday (10/3/08)

Wednesday (10/1/08)

  • Print out and turn in your HTTLACS: Ch1 Exercises
  • Read through HTTLACS: Ch2
  • Complete the HTTLACS: Ch2 Exercises by Friday (10/3/08)

Archives

CS1 - September