IBCS1 - 1112 - December
From WLCS
Contents
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