Difference between revisions of "IB Computer Science 1"
From WLCS
(→Tuesday (1/3/12)) |
|||
Line 1: | Line 1: | ||
+ | == Thursday (1/5/12) == | ||
+ | '''Warmup:''' | ||
+ | * Complete the following 3 warmup exercises: | ||
+ | ** [http://codingbat.com/prob/p194053 Python > String-1 > combo_string] | ||
+ | ** [http://codingbat.com/prob/p127703 Python > String-1 > non_start] | ||
+ | ** [http://codingbat.com/prob/p160545 Python > String-1 > left2] | ||
+ | * Reference: [[Media:Strings_Python.ppt]] | ||
+ | |||
+ | '''Agenda:''' | ||
+ | * Introduction to Lists | ||
+ | |||
+ | '''Homework:''' | ||
+ | * String-2 | ||
+ | |||
== Tuesday (1/3/12) == | == Tuesday (1/3/12) == | ||
'''Warmup:''' | '''Warmup:''' |
Revision as of 23:08, 4 January 2012
Contents
- 1 Thursday (1/5/12)
- 2 Tuesday (1/3/12)
- 3 Friday (12/23/11) - Friday (12/30/11)
- 4 Wednesday (12/21/11)
- 5 Monday (12/19/11)
- 6 Tuesday - Thursday (12/13/11 - 12/15/11)
- 7 Wednesday - Friday (12/7/11 - 12/8/11)
- 8 Monday (12/5/11)
- 9 Thursday (12/1/11)
- 10 Tuesday (11/29/11)
- 11 Wednesday - Friday (11/23/11 - 11/25/11)
- 12 Tuesday (11/22/11)
- 13 Friday (11/18/11)
- 14 Wednesday (11/16/11)
- 15 Monday (11/14/11)
- 16 Wednesday (11/9/11)
- 17 Friday (11/4/11)
- 18 Wednesday (11/2/11)
- 19 Archives
Thursday (1/5/12)
Warmup:
- Complete the following 3 warmup exercises:
- Reference: Media:Strings_Python.ppt
Agenda:
- Introduction to Lists
Homework:
- String-2
Tuesday (1/3/12)
Warmup:
- Complete Python > String-1 > first_half
- Complete Python > String-1 > without_end
- Reference: Media:Strings_Python.ppt
Agenda:
- Letters of Support? - Due Tuesday, January 10th
- Demo Pig Latin Translator up through translateWord(s)
Friday (12/23/11) - Friday (12/30/11)
- Winter Break
Wednesday (12/21/11)
Agenda:
- Demo E-mail Harvester Assignment
- Work on Pig Latin Translator
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
- Use a loop (don't forget to initialize the loop counter to 0
- Check if the current letter (using the counter) matches ch
- If so, then return the current counter
- Increment your loop counter to go to the next letter
- 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:
- Loops and Conditionals with Strings
- Leet-speak Translator
- E-mail Harvester Assignment
- Pig Latin Translator
Wednesday - Friday (12/7/11 - 12/8/11)
Agenda:
- Dual Enrollment Testing
- Be sure you complete:
- Python String Exercises - upload to SchoolWebLockers
- Complete the first 6 Python->String-1 exercises
Monday (12/5/11)
Warmup:
- Complete Python > Logic-2 > lucky_sum
Agenda:
- Dual enrollment forms?
- Missing Warmup-1 and Logic-1
- Introduction to Python Strings
- Media:Strings_Python.ppt
- Python String Exercises
- Complete the first 6 Python->String-1 exercises
Thursday (12/1/11)
Warmup:
- Define the following to another high school student:
- variable
- value
- function
- parameter
- Boolean
- conditional
- iteration (looping)
Agenda:
- Dual enrollment forms?
- All of Python->Warmup-1 and Python->Logic 1 are due by midnight tonight (12/1/11)
- Complete Python > Logic-2 > lone_sum
- Introduction to Python Strings
Tuesday (11/29/11)
Warmup:
- Complete Python > Logic-2 > no_teen_sum
Agenda:
- CodingBat - make sure you've completed:
- All exercises from Python->Warmup-1
- Complete all exercises from Python->Logic 1
- Dual Enrollment Credit
- Complete application
- NVCC Course - ITP 195
- 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
- Go to CodingBat
- Click on create account
- Make sure you put in your Lastname, Firstname
- Click on prefs
- Under Teacher Share, use
- 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
- Give the window a background image of Washington-Lee by using bgpic("filename")
- Give your player a picture of Mr. Bui's head and program it so that it can move around the screen with the keyboard
- 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
- 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:
- Carney, Inc. - JamTech - Saturday, December 3rd, 2011
- Etch-a-Sketch - Create a program that uses the arrow keys to draw pictures
- Drop the pen down
- Respond to the keyboard arrows to draw
- Respond to the keyboard's "space" key to clear the screen
- Hint: If you can't remember how to clear the screen, look for the command in the Python Turtle Documentation
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
- Drop the pen down
- Respond to the keyboard arrows to draw
- Respond to the keyboard's "space" key to clear the screen
- Hint: If you can't remember how to clear the screen, look for the command in the Python Turtle Documentation
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
- Changing the turtle's look - Turtle - Changing Shape
- mainloop()
- Responding do the keyboard
- Multiple turtles