|
|
(567 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | == Thursday (5/3/12) ==
| |
− | '''Agenda:'''
| |
− | * Demo [[E-mail Harvester Assignment]]
| |
− | * Demo [[Pig Latin Translator]]
| |
− | * Demo [[Python Function Exercises]]
| |
− |
| |
− | == Tuesday - Wednesday (5/1/12 - 5/2/12) ==
| |
− | '''Agenda:'''
| |
− | * Electronics, game play, and other distractions discussion
| |
− | * Demo [[E-mail Harvester Assignment]]
| |
− | * Complete [[Pig Latin Translator]]
| |
− |
| |
− | == Monday (4/30/12) ==
| |
− | '''Warmup:'''
| |
− | # Define a function named '''slope(x1, y1, x2, y2)''' that returns the slope using the input '''parameters'''
| |
− | # Be sure to test your function with 3-4 different '''function calls'''
| |
− |
| |
− | '''Agenda:'''
| |
− | * Translate the following words into pig latin:
| |
− | ** Washington
| |
− | ** Generals
| |
− | ** Chair
| |
− | ** Street
| |
− | ** I
| |
− | * Begin working on [[Pig Latin Translator]]
| |
− |
| |
− | == Thursday (4/26/12) ==
| |
− | '''Warm-up:'''
| |
− | # Bring up your email harvester code.
| |
− | # Write print() and function calls to test each function to see if they work properly
| |
− | #* Example: print(findAtSymbol("bob@mail.com"))
| |
− | #* Example: print(find("banana", "a", 2))
| |
− | #* Example: print(findBackwards("banana", "a", 5))
| |
− |
| |
− | '''Agenda:'''
| |
− | * Loops and Conditionals with Strings
| |
− | * Work on [[E-mail Harvester Assignment]]
| |
− |
| |
− | == Wednesday (4/25/12) ==
| |
− | '''Agenda:'''
| |
− | * Work on [[E-mail Harvester Assignment]]
| |
− |
| |
− | == Tuesday (4/24/12) ==
| |
− | '''Period 1 - Agenda:'''
| |
− | * Work on and complete [[Leet-speak Translator]] today
| |
− |
| |
− | '''Period 3 - Agenda:'''
| |
− | * Demo completed [[Leet-speak Translator]]
| |
− | * Loops and Conditionals with Strings
| |
− | * Begin working on [[E-mail Harvester Assignment]]
| |
− |
| |
− | == Monday (4/23/12) ==
| |
− | '''Agenda:'''
| |
− | * Complete [[Leet-speak Translator]]
| |
− | * Begin working on [[E-mail Harvester Assignment]]
| |
− |
| |
− | == Friday (4/20/12) ==
| |
− | '''Period 1 - Agenda:'''
| |
− | * Complete all 11 exercises from [http://codingbat.com/python/String-1 Python->String-1]
| |
− |
| |
− | '''Period 3 - Agenda:'''
| |
− | * Loops and Conditionals with Strings
| |
− | * Continue working on the [[Leet-speak Translator]]
| |
− |
| |
− | == Thursday (4/19/12) ==
| |
− | '''Warmup:'''
| |
− | * Complete [http://codingbat.com/prob/p193507 Python > Warmup-2 > stringTimes]
| |
− | * Complete [http://codingbat.com/prob/p165097 Python > Warmup-2 > front_times]
| |
− |
| |
− | '''Agenda:'''
| |
− | * Complete all 11 exercises from [http://codingbat.com/python/String-1 Python->String-1]
| |
− | * Loops and Conditionals with Strings
| |
− | * [[Leet-speak Translator]]
| |
− |
| |
− | == Wednesday (4/18/12) ==
| |
− | '''Period 1 - Agenda:'''
| |
− | * Introduction to Strings
| |
− | ** [[Media:Strings_Python.ppt]]
| |
− | ** [[Python String Exercises]]
| |
− | * Complete 5 exercises from [http://codingbat.com/python/String-1 Python->String-1]
| |
− |
| |
− | '''Period 3 - Agenda:'''
| |
− | * Complete all 11 exercises from [http://codingbat.com/python/String-1 Python->String-1]
| |
− |
| |
− | == Tuesday (4/17/12) ==
| |
− | * Complete and turn in the [[Python String Exercises]]
| |
− | * Complete 3 exercises from [http://codingbat.com/python/String-1 Python->String-1]
| |
− |
| |
− | == Monday (4/16/12) ==
| |
− | '''Warmup:'''
| |
− | # Prompt the user for a number, N
| |
− | # Write a loop that prints out the first N terms of the following arithmetic sequence
| |
− | #* 4, 7, 10, 13, 16, ... (HINT: you may want to use more than one variable)
| |
− |
| |
− | '''Period 1 - Agenda:'''
| |
− | * Complete the [[Looping Exercises]]
| |
− | * Introduction to Strings
| |
− | ** [[Media:Strings_Python.ppt]]
| |
− | ** [[Python String Exercises]]
| |
− |
| |
− | '''Period 3 - Agenda:'''
| |
− | * Complete the [[Python String Exercises]]
| |
− |
| |
− | == Friday (4/13/12) ==
| |
− | '''Warmup:'''
| |
− | * Assume you have the string '''s = "Washington-Lee"'''
| |
− | # What is the index of the "W"?
| |
− | # What is the index of the "L"?
| |
− | # What is the slice for just "Washington"?
| |
− | # What is the slice for just "ton"?
| |
− |
| |
− | '''Agenda:'''
| |
− | * Introduction to Python Strings
| |
− | ** [[Media:Strings_Python.ppt]]
| |
− | ** [[Python String Exercises]]
| |
− |
| |
− | == Thursday - Friday (4/12/12 - 4/13/12) ==
| |
− | '''Warmup:'''
| |
− | * Using loops and strings:
| |
− | * Copy and try out the following code:
| |
− |
| |
− | <syntaxhighlight lang="Python">
| |
− | s = "trol"
| |
− | x = 0
| |
− | while x < 5:
| |
− | s = s + "lo"
| |
− | x = x + 1
| |
− | print(s)
| |
− | </syntaxhighlight>
| |
− |
| |
− | * What does the above code produce?
| |
− | * Tweak the code so that it prints "hahahahahahahaha"
| |
− |
| |
− | '''Period 1 - Agenda:'''
| |
− | * Loops and strings
| |
− | * Complete [http://codingbat.com/prob/p193507 Python > Warmup-2 > string_times]
| |
− | * Complete the [[Looping Exercises]]
| |
− |
| |
− | '''Period 3 - Agenda:'''
| |
− | * Loops and strings
| |
− | * Complete [http://codingbat.com/prob/p193507 Python > Warmup-2 > string_times]
| |
− | * Introduction to Python Strings
| |
− | ** [[Media:Strings_Python.ppt]]
| |
− | ** [[Python String Exercises]]
| |
− |
| |
− | == Tuesday (4/10/12) ==
| |
− | '''Warmup:'''
| |
− | * Write a loop that prints out the odd numbers from 33 down to 1
| |
− | * HINT: Start with your loop template:
| |
− |
| |
− | <syntaxhighlight lang="Python">
| |
− | x = 0
| |
− | while x < 10:
| |
− | print(x)
| |
− | x = x + 1
| |
− | </syntaxhighlight>
| |
− |
| |
− | '''Period 1 - Agenda:'''
| |
− | * Return and go over 3rd Quarter Exam
| |
− | * Complete the [[Print Shapes Exercises]]
| |
− | * Complete the [[Looping Exercises]]
| |
− |
| |
− | '''Period 3 - Agenda:'''
| |
− | * Return and go over 3rd Quarter Exam
| |
− |
| |
− | == Monday - Friday (4/2/12 - 4/6/12) ==
| |
− | * Spring Break
| |
− |
| |
| == Archives == | | == Archives == |
− | * [[CS1 - 1112 - March]] | + | * CS1 - 1819 (Poland) - APS Canvas |
− | * [[CS1 - 1112 - February]] | + | * CS1 - 1718 (Poland) - APS Canvas |
− | * [[CS1 - 1112 - January]] | + | * CS1 - 1617 (Poland) - Google Classroom |
− | * [[CS1 - 1112 - December]] | + | ** [https://docs.google.com/a/apsva.us/document/d/1VnXYBgVIABKBGVYNuoQQ6E_6kUzcNah2TFlM5QgTOW0/edit?usp=sharing 2017 Syllabus] |
− | * [[CS1 - 1112 - November]] | + | * [https://sites.google.com/a/apsva.us/ocopcompsci/ CS1 - 1516 (MacLeod)] |
− | * [[CS1 - 1112 - October]] | + | * [[CS1 - 1415]] |
− | * [[CS1 - 1112 - September]] | + | * [[CS1 - 1314]] |
| + | * [[CS1 - 1213]] |
| + | * [[CS1 - 1112]] |
| + | * [[CS1 - 1011]] |
| + | * [[CS1 - 0910]] |
| + | * [[CS1 - 0809]] |
| + | * [http://www.paulbui.net/wl0708/cs1 CS1 - 0708] |
| + | * [http://www.paulbui.net/wl0607/cs1/schedule.html CS1 - 0607] |