Difference between revisions of "IB Computer Science 1"

From WLCS
Line 6: Line 6:
  
 
'''Agenda:'''
 
'''Agenda:'''
 +
* Letters of Support? - Due Tuesday, January 10th
 
* Demo [[E-mail Harvester Assignment]]
 
* Demo [[E-mail Harvester Assignment]]
 
* Work on [[Pig Latin Translator]]
 
* Work on [[Pig Latin Translator]]

Revision as of 09:23, 3 January 2012

Tuesday (1/3/12)

Warmup:

Agenda:

Friday (12/23/11) - Friday (12/30/11)

  • Winter Break

Wednesday (12/21/11)

Agenda:

Monday (12/19/11)

Warmup:

  • Define a function named getTheIndex(s, ch) that returns the index of the letter in the ch variable when it looks through the s variable
    1. Use a loop (don't forget to initialize the loop counter to 0
    2. Check if the current letter (using the counter) matches ch
      • If so, then return the current counter
    3. Increment your loop counter to go to the next letter
    4. Outside the loop, return -1 as a failsafe

Agenda:

Tuesday - Thursday (12/13/11 - 12/15/11)

Warmup:

  • Initialize a string "Washington-Lee Computer Science" to a variable s
  • Write a loop that walks through (traverses) the string s
  • Print out each letter in s

Warmup 2:

  • Without running it on your computer, what does the following source code print at the end?
newString = ""
x = 0
while x < 5:
    newString = newString + "l"
    newString = newString + "o"
    x = x + 1
print(newString)

Agenda:

Wednesday - Friday (12/7/11 - 12/8/11)

Agenda:

Monday (12/5/11)

Warmup:

Agenda:

Thursday (12/1/11)

Warmup:

  • Define the following to another high school student:
    • variable
    • value
    • function
    • parameter
    • Boolean
    • conditional
    • iteration (looping)

Agenda:

Tuesday (11/29/11)

Warmup:

Agenda:

  • CodingBat - make sure you've completed:
  • Dual Enrollment Credit
    1. Complete application
    2. NVCC Course - ITP 195
    3. Exemption from COMPASS test with (AP English 3 or higher OR SAT Reading 550 or higher)

Homework:

  • Complete all exercises from Python->Logic 1 by Thursday (12/1/11)
  • Complete the NVCC application and turn in a completed Dual Enrollment form. (NVCC ID# and Parent Signature)

Wednesday - Friday (11/23/11 - 11/25/11)

  • Thanksgiving Break - Over Thanksgiving Break, try to complete 3 or more exercises from Python->Logic 1

Tuesday (11/22/11)

Agenda:

  • CodingBat
    1. Go to CodingBat
    2. Click on create account
    3. Make sure you put in your Lastname, Firstname
    4. Click on prefs
    5. Under Teacher Share, use BuiEmail.bmp
  • Complete Python->Warmup-1
  • Demo Turtle gaming practice
  • Over Thanksgiving Break, try to complete 3 or more exercises from Python->Logic 1

Friday (11/18/11)

Agenda:

  • Warmup Quiz
  • Turtle gaming practice
    1. Give the window a background image of Washington-Lee by using bgpic("filename")
    2. Give your player a picture of Mr. Bui's head and program it so that it can move around the screen with the keyboard
    3. Create a new Turtle() that bounces around the screen. Make it a WL logo.

Wednesday (11/16/11)

Warmup:

  • Define a function named printEvens(a, b) that takes two parameters
    1. Inside the function, write a loop that prints out all the even numbers from a up to b
  • Test your function by making a function call to print the even numbers from 20 to 60

Agenda:

  • Closed-everything quiz on the above warmup on Friday (11/18/11)
  • Turtle animations
  • Turtle gaming

Monday (11/14/11)

Agenda:

Wednesday (11/9/11)

Warmup:

  • What does the following expression evaluate to? ((2**4)-5*4/2)

Agenda:

  • Return and review 1st Quarter Exams
  • mainloop() & responding to the keyboard
  • Etch-a-Sketch - Create a program that uses the arrow keys to draw pictures
    1. Drop the pen down
    2. Respond to the keyboard arrows to draw
    3. Respond to the keyboard's "space" key to clear the screen

Friday (11/4/11)

Warmup:

  • Create a smiley face polygon
  • Change the turtle to be the smiley face
  • Make the turtle move around the screen as the smiley face

Agenda:

  • mainloop()
  • Responding do the keyboard

Wednesday (11/2/11)

Agenda:

  • 1st Quarter Exam: Part 2
  • Advanced Turtling

Archives