|
|
Line 30: |
Line 30: |
| *# Deal 5 cards from the deck to p2Hand | | *# Deal 5 cards from the deck to p2Hand |
| *# Print out both hands | | *# Print out both hands |
− |
| |
− | == Wednesday - Friday (11/27/13 - 11/29/13) ==
| |
− | * Thanksgiving Break
| |
− |
| |
− | == Tuesday (11/26/13) ==
| |
− | '''Agenda:'''
| |
− | * If you have not completed all of [http://codingbat.com/python/List-2 List-2], finish it over Thanksgiving Break
| |
− | * Demo [[Advanced Python List Exercises]]
| |
− | * List & String Practice
| |
− | *# Assume you have a list of strings of peoples' full names in random order. Print out an alphabetized list of only the last names.
| |
− | *# Assume you have a single string containing the entire U.S. Constitution. Calculate and print out the frequency of the word "the"
| |
− | *#* Download the following file: [[Media:Constitution.txt]]
| |
− | *#* Hint: There is a useful string function converts a string to a list of words.
| |
− | *# Assume you have a single data file with 1000 random numbers from 0 to 100. Print out the frequency of each of the numbers.
| |
− | *#* Example code to help read in a file:
| |
− | <syntaxhighlight lang="Python">
| |
− | # open a text file
| |
− | file = open("Constitution.txt", "r")
| |
− |
| |
− | # read all lines in the file and save in the constitution string variable
| |
− | constitutionStr = file.read()
| |
− |
| |
− | # close the file
| |
− | file.close()
| |
− |
| |
− | print(constitutionStr)
| |
− | </syntaxhighlight>
| |
− |
| |
− | == Monday - Tuesday (2/4/13 - 2/5/13) ==
| |
− | '''Agenda:'''
| |
− | * Complete [[Advanced Python List Exercises]] by Wednesday (2/6/13)
| |
− | * If you are done with all the exercises, then do the following:
| |
− | *# Read up on the rules of blackjack
| |
− | *#* [http://en.wikipedia.org/wiki/Blackjack Wikipedia: Blackjack]
| |
− | *#* [http://entertainment.howstuffworks.com/how-to-play-blackjack.htm How Stuff Works: Blackjack]
| |
− | *# Draw a simple flowchart for a simple blackjack game (Vegas rules). Be sure to use the flowchart symbols
| |
− | *#* [[Media:Flowcharts.ppt]]
| |
− | * List & String Practice
| |
− | *# Assume you have a list of strings of peoples' full names in random order. Print out an alphabetized list of only the last names.
| |
− | *# Assume you have a single string containing the entire U.S. Constitution. Calculate and print out the frequency of the word "the"
| |
− | *#* Download the following file: [[Media:Constitution.txt]]
| |
− | *#* Hint: There is a useful string function converts a string to a list of words.
| |
− | *#* Example code to help read in a file:
| |
− |
| |
− | <syntaxhighlight lang="Python">
| |
− | # open a text file
| |
− | file = open("Constitution.txt", "r")
| |
− |
| |
− | # read all lines in the file and save in the constitution string variable
| |
− | constitutionStr = file.read()
| |
− |
| |
− | # close the file
| |
− | file.close()
| |
− |
| |
− | print(constitutionStr)
| |
− | </syntaxhighlight>
| |
− |
| |
− | == Friday - Monday (11/22/13 - 11/25/13) ==
| |
− | '''Agenda:'''
| |
− | * Complete all exercises from [http://codingbat.com/python/List-2 List-2]
| |
− | * Complete [[Advanced Python List Exercises]]1
| |
− |
| |
− | == Wednesday - Thursday (11/20/13-11/21/13) ==
| |
− | '''Agenda:'''
| |
− | * VA Workplace Readiness Skills Assessment scores
| |
− | ** Submit your pretest score to Mr. Bui through the [https://docs.google.com/forms/d/1gxIuRnM7Qb9DRrB7pj1YEpnsC4F5WxRTO5FtuvjkBGU/viewform VA WRS Score Survey]
| |
− | * MS Excel/Spreadsheet Algorithms
| |
− | * Complete all exercises from [http://codingbat.com/python/List-2 List-2]
| |
− | * Work on [[Advanced Python List Exercises]]
| |
− |
| |
− | == Monday - Wednesday (11/18/13 - 11/20/13) ==
| |
− | '''Agenda:'''
| |
− | * VA Workplace Readiness Skills Assessment scores
| |
− | ** Submit your pretest score to Mr. Bui through the [https://docs.google.com/forms/d/1gxIuRnM7Qb9DRrB7pj1YEpnsC4F5WxRTO5FtuvjkBGU/viewform VA WRS Score Survey]
| |
− | * Complete all exercises from [http://codingbat.com/python/List-1 List-1]
| |
− | * Complete all exercises from [http://codingbat.com/python/List-2 List-2]
| |
− |
| |
− | == Wednesday - Friday (11/13/13 - 11/15/13) ==
| |
− | '''Agenda:'''
| |
− | * Lists - [[Media:Lists_Python.ppt]]
| |
− | * (Basic) [[Python List Exercises]]
| |
− | * Complete all exercises from [http://codingbat.com/python/List-1 List-1]
| |
− | * Complete all exercises from [http://codingbat.com/python/List-2 List-2]
| |
− |
| |
− | == 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 [http://codingbat.com/python/List-1 List-1]
| |
− |
| |
− | == Wednesday- Thursday (11/6/13 - 11/7/13) ==
| |
− | '''Agenda:'''
| |
− | * VA Workplace Readiness Skills Assessment
| |
− | ** Pretest - Complete the [http://www.quia.com/quiz/3959876.html VA WRS Benchmark Test] (53 mins)
| |
− | ** Submit your pretest score to Mr. Bui through the [https://docs.google.com/forms/d/1gxIuRnM7Qb9DRrB7pj1YEpnsC4F5WxRTO5FtuvjkBGU/viewform 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]]
| |
| | | |
| == Archives == | | == Archives == |
| + | * [[IBCS1 - 1314 - November]] |
| * [[IBCS1 - 1314 - October]] | | * [[IBCS1 - 1314 - October]] |
| * [[IBCS1 - 1314 - September]] | | * [[IBCS1 - 1314 - September]] |