Difference between revisions of "IB Computer Science 1"
From WLCS
Line 2: | Line 2: | ||
'''Agenda:''' | '''Agenda:''' | ||
* Complete and demo [[E-mail Harvester Assignment]] | * Complete and demo [[E-mail Harvester Assignment]] | ||
+ | * Harvesting an e-mail separated by anything | ||
+ | * Harvesting all e-mails separated by anything | ||
* Lists - [[Media:Lists_Python.ppt]] | * Lists - [[Media:Lists_Python.ppt]] | ||
* (Basic) [[Python List Exercises]] | * (Basic) [[Python List Exercises]] |
Revision as of 14:36, 12 November 2013
Contents
- 1 Friday - Tuesday (11/8/13 - 11/12/13)
- 2 Wednesday- Thursday (11/6/13 - 11/7/13)
- 3 Monday (11/4/13)
- 4 Thursday - Friday (10/31/13 - 11/1/13)
- 5 Tuesday - Wednesday (10/29/13 - 10/30/13)
- 6 Friday - Monday (10/25/13 - 10/28/13)
- 7 Wednesday - Thursday (10/23/13 - 10/24/13)
- 8 Monday - Tuesday (10/21/13 - 10/22/13)
- 9 Thursday - Friday (10/17/13 - 10/18/13)
- 10 Tuesday - Wednesday (10/15/13 - 10/16/13)
- 11 Thursday - Friday (10/10/13 - 10/11/13)
- 12 Friday - Wednesday (10/4/13 - 10/9/13)
- 13 Wednesday - Thursday (10/2/13 - 10/3/13)
- 14 Tuesday (10/1/13)
- 15 Archives
Friday - Tuesday (11/8/13 - 11/12/13)
Agenda:
- Complete and demo E-mail Harvester Assignment
- Harvesting an e-mail separated by anything
- Harvesting all e-mails separated by anything
- Lists - Media:Lists_Python.ppt
- (Basic) Python List Exercises
- Complete 6 exercises from List-1
Wednesday- Thursday (11/6/13 - 11/7/13)
Agenda:
- VA Workplace Readiness Skills Assessment
- Pretest - Complete the VA WRS Benchmark Test (53 mins)
- Submit your score to Mr. Bui through the VA WRS Score Survey
- Complete and demo Pig Latin Translator - at least be able to translate a single word
- Work on E-mail Harvester Assignment
Monday (11/4/13)
Agenda:
- Complete and demo Pig Latin Translator
- Work on E-mail Harvester Assignment
Thursday - Friday (10/31/13 - 11/1/13)
Agenda:
- Finish Morse Code Translator
- for loop demo
- Download the following sounds:
- Pygame Sound
pygame.init()
pygame.mixer.init()
dotSound = pygame.mixer.Sound("dot.wav")
dashSound = pygame.mixer.Sound("dash.wav")
for ch in m:
if ch == ".":
while pygame.mixer.get_busy():
pass
print ch,
dotSound.play()
if ch == "-":
while pygame.mixer.get_busy():
pass
print ch,
dashSound.play()
if ch == " ":
print ch,
pygame.time.wait(250)
while pygame.mixer.get_busy():
pass
- Work on Pig Latin Translator
Tuesday - Wednesday (10/29/13 - 10/30/13)
Agenda:
- Demo Morse Code Translator
- plain2morse.py test: "the quick brown fox jumps over the lazy dog"
- Copy and paste the resulting Morse code into your morse2plain.py
- You should see the original plaintext
- morse2plain.py test: "- .... . --.- ..- .. -.-. -.- -... .-. --- .-- -. ..-. --- -..- .--- ..- -- .--. ... --- ...- . .-. - .... . .-.. .- --.. -.-- -.. --- --."
Friday - Monday (10/25/13 - 10/28/13)
Agenda:
- Be sure that you have completed at least 6 exercises from String-1. If not, then work on it this weekend.
- Work on Morse Code Translator
Wednesday - Thursday (10/23/13 - 10/24/13)
Agenda:
- Complete Leet-speak Translator
- Complete 6 exercises from String-1
- Work on Morse Code Translator
Monday - Tuesday (10/21/13 - 10/22/13)
Agenda:
- Make sure you have completed Logic-1
- Introduction to Strings
- Media:Strings_Python.pptx
- Complete Python String Exercises and share with Mr. Bui
- Complete the last 4 string warm-ups from Warmup-1
- Complete 6 exercises from String-1
- NOTE: If you have already done CodingBat, then complete ALL the exercises from String-1
Thursday - Friday (10/17/13 - 10/18/13)
Agenda:
- Review functions
- Demo Turtle - Graphing Calculator
- Complete Logic-1 by the beginning of next week
Tuesday - Wednesday (10/15/13 - 10/16/13)
Agenda:
- Make sure that you have completed the basic Turtle - Graphing Calculator
- Read section 6.1 of Fruitful Functions and pay attention to the return keyword
- Skim/review Python Functions Cheat Sheet
- CodingBat Python Functions
Thursday - Friday (10/10/13 - 10/11/13)
- JAMTECH
- Add turtle graphics to your Monte Carlo Calculation of Pi
- Work on Turtle - Graphing Calculator
Friday - Wednesday (10/4/13 - 10/9/13)
Warmup:
- Execute the code below
- When prompted, use 100 for x and 200 for y
- What does each line do? Analyze!
from turtle import *
setup(200, 400)
screensize(200, 400)
x = numinput("X prompt", "Please enter an x")
y = numinput("Y prompt", "Please enter a y")
goto(x,y)
exitonclick()
Agenda:
- Complete Turtle - Looping Assignment (practice loops with turtle)
- Add turtle graphics to your Monte Carlo Calculation of Pi
- Work on Turtle - Graphing Calculator
Wednesday - Thursday (10/2/13 - 10/3/13)
Agenda:
- Functions review
- Introduction to Python Turtle
- Complete Turtle - Moving and Drawing Assignment (practice with function calls)
- Work on Turtle - House Function Assignment (practice defining a function)
- Work on Turtle - Looping Assignment (practice loops with turtle)
Tuesday (10/1/13)
- Complete Monte Carlo Calculation of Pi
- Introduction to Functions
- Complete HTTLACS: Ch 3 Exercises
- Introduction to Python Turtle
- Work on Turtle - Moving and Drawing Assignment (practice with function calls)