|
|
Line 1: |
Line 1: |
− | == Tuesday - Thursday (2/18/13 - 2/20/13) == | + | == [[IBCS1 - Archives]] == |
− | '''Warmup:'''
| |
− | * Complete [http://kmbcoding.com/psychology/ Psychology IA] (~15 minutes)
| |
− | | |
− | '''Agenda:'''
| |
− | * Open your Acey Deucey flowchart and make sure that you have your name on the chart (use a textbox or label)
| |
− | * If you have not shared your flowchart yet, then you need to do so as of right now. It is now considered late.
| |
− | * Complete Acey Deucey Rules
| |
− | *# Pair up with a partner
| |
− | *# Title the document: '''Acey Deucey Rules'''
| |
− | *# Create a shared document between the two of you
| |
− | *# Put both your names on the document
| |
− | *# List '''all''' the rules of [http://en.wikipedia.org/wiki/Acey_Deucey_(card_game) Acey Deucey]
| |
− | *# Every missing rule will cost a letter grade
| |
− | *# Share your document with Mr. Bui
| |
− | * Acey Deucey Design
| |
− | *# You will complete this assignment individually
| |
− | *# Create a Google Document
| |
− | *# Title the document: '''Acey Deucey Design'''
| |
− | *# Share the document with Mr. Bui
| |
− | *# Write out all the steps to the Acey Deucey game '''in your own words'''
| |
− | *#* Be sure to include every step of the game
| |
− | *#* Be sure to completely describe your steps
| |
− | *#* You must include all the rules that you previously listed
| |
− | *#* This step-by-step design will help you code the game
| |
− | *#* You should use your flowchart to help you cover every step
| |
− | *#* If your flowchart is bad, then you must deal with it because that's your own fault.
| |
− | | |
− | == Friday (2/15/13) ==
| |
− | '''Warmup:'''
| |
− | * Play Acey Deucey
| |
− | ** You can use a piece of scratch paper to keep track of the money that the player and pot have
| |
− | | |
− | '''Agenda:'''
| |
− | * Acey Deucey Game
| |
− | *# Open a Google Drawing using your APS Google Drive
| |
− | *# Create a flowchart for the game of [http://en.wikipedia.org/wiki/Acey_Deucey_(card_game) Acey Deucey]
| |
− | *#* Rules are in the first paragraph
| |
− | *#* You need to be sure to include all the rules in your flow chart
| |
− | *# Be sure to use the standard flowchart symbols: [[Media:Flowcharts.ppt]]
| |
− | *# Share your complete flowchart with Mr. Bui
| |
− | *# Due by Monday (2/18/13) at 3PM (on-line via shared Google Doc)
| |
− | | |
− | == Wednesday - Thursday (2/13/13 - 2/14/13) ==
| |
− | '''Agenda:'''
| |
− | * Review your War Card Game code
| |
− | * War Card Game Quiz
| |
− | * Acey Deucey Game
| |
− | *# Open a Google Drawing using your APS Google Drive
| |
− | *# Create a flowchart for the game of [http://en.wikipedia.org/wiki/Acey_Deucey_(card_game) Acey Deucey]
| |
− | *#* Rules are in the first paragraph
| |
− | *# Be sure to use the standard flowchart symbols: [[Media:Flowcharts.ppt]]
| |
− | *# Share your complete flowchart with Mr. Bui
| |
− | *# Due by Monday (2/18/13) at 3PM (on-line via shared Google Doc)
| |
− | * Next class, bring a deck of cards from home if you have one
| |
− | | |
− | == Monday - Tuesday (2/11/13 - 2/12/13) ==
| |
− | '''Warmup:'''
| |
− | # Login to CodingBat
| |
− | # Complete 3 exercises from [http://codingbat.com/python/List-1 List-1]
| |
− | #* first_last6
| |
− | #* same_first_last
| |
− | #* make_pi
| |
− | # If you have already completed them, then complete 1 exercise from [http://codingbat.com/python/List-2 List-2]
| |
− | | |
− | '''Agenda:'''
| |
− | * Finish coding the War card game
| |
− | * Reading/commenting code exercise
| |
− | * Quiz on the War code on Wednesday (2/13/13), Thursday (2/14/13)
| |
− | * List & String Practice Problem
| |
− | *# Assume you have a list of strings of peoples' full names in random order. Print out an alphabetized list of only the last names.
| |
− | *# You can test our your code using the following file: [[Media:Names.txt]]
| |
− | *# See if you can write it in fewer lines of code
| |
− | | |
− | == Wednesday - Friday (2/6/13 - 2/9/13) ==
| |
− | '''Agenda:'''
| |
− | * Course Request Forms
| |
− | * Demo [[Advanced Python List Exercises]]
| |
− | * More [http://docs.python.org/3.2/tutorial/datastructures.html List Documentation]
| |
− | * War Card Game walk-through
| |
− | *# Read the [http://en.wikipedia.org/wiki/War_(card_game) War Rules]
| |
− | *# On a blank piece of paper, create a flow chart for the rules and steps of War. Be sure to include the following steps:
| |
− | *#* Shuffle deck
| |
− | *#* Deal deck halves to 2 players
| |
− | *#* Each player reveals top card
| |
− | *#* Player with higher card puts both cards at the bottom of his/her deck
| |
− | *#* If both players' cards match, then there is "war"
| |
− | *#*# Both players put 3 cards face down, and reveal 4th card face up. Player with higher card takes all 10 cards
| |
− | *# We will code the War card game as a class using our flow chart
| |
− | | |
− | * 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>
| |
− | | |
− | == Thursday - Friday (1/31/13 - 2/1/13) ==
| |
− | '''Warmup:'''
| |
− | * What is the value of the list after the following code executes?
| |
− | | |
− | <syntaxhighlight lang="Python">
| |
− | nums = [8, 6, 7, 5, 3, 0, 9]
| |
− | nums[0] = 5
| |
− | nums[nums[0]] = 1
| |
− | nums[len(nums)-1] = nums[1] + nums[2]
| |
− | nums[3] = nums[4]
| |
− | </syntaxhighlight>
| |
− | | |
− | '''Agenda:'''
| |
− | * Complete [[Advanced Python List Exercises]]
| |
− | * You should be done with at least 3 of the exercises by the end of the day (through List Min/Max or Reverse)
| |
− | * 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. Be sure to use the flowchart symbols
| |
− | *#* [[Media:Flowcharts.ppt]]
| |
− | | |
− | == Tuesday (1/29/13) ==
| |
− | '''Agenda:'''
| |
− | * Python lists quiz
| |
− | * Loop and list walk-through
| |
− | * [[Advanced Python List Exercises]]
| |
− | * Go over Python lists quiz
| |
− | | |
− | == Friday (1/25/13) ==
| |
− | '''Agenda:'''
| |
− | * VA Workplace Readiness Mid-year Pretest
| |
− | ** Look for the answer that you think they want
| |
− | * Make sure that you have completed [[Python List Exercises]]
| |
− | * Python lists quiz will be on Tuesday (1/29/13)
| |
− | | |
− | == Thursday (1/24/13) ==
| |
− | * Complete (Basic) [[Python List Exercises]] today
| |
− | ** Once done, copy your code into a Google Doc and share it with Mr. Bui
| |
− | * A Python lists quiz will be on Monday (1/28/13)
| |
− | ** Be sure you understand everything from [[Python List Exercises]]
| |
− | * Begin working on [[Advanced Python List Exercises]]
| |
− | | |
− | == Thursday - Thursday (1/17/13 - 1/23/13) ==
| |
− | '''Agenda:'''
| |
− | * Lists - [[Media:Lists_Python.ppt]]
| |
− | * (Basic) [[Python List Exercises]]
| |
− | * [[Advanced Python List Exercises]]
| |
− | | |
− | == Tuesday - Wednesday (1/15/13 - 1/16/13) ==
| |
− | * Job Opportunity - Let Mr. Bui know if you are interested
| |
− | ** $9.00/hr
| |
− | ** After school at a local accounting company in Clarenon
| |
− | ** Bookkeeping
| |
− | ** Answer phones, filing, assembly tax returns.
| |
− | ** Scanning documents
| |
− | ** Website maintenance
| |
− | * Demo missing assignments
| |
− | | |
− | == Friday - Monday (1/11/13 - 1/14/13) ==
| |
− | * 2nd Quarter Exam
| |
− | * Demo and missing assignments
| |
− | | |
− | == Thursday (1/10/13) ==
| |
− | * 2nd Quarter Exam Outline
| |
− | ** Closed-note, closed-book, short-answers
| |
− | ** Turtle
| |
− | ** Functions
| |
− | ** Loops
| |
− | ** Strings
| |
− | ** Any assignments that we completed
| |
− | * Planning code out before you write it
| |
− | *# Write out the English steps to finding the at-symbol
| |
− | *# Write out the English steps to the find() function, assuming you are searching for '''ch''' starting '''index'''
| |
− | *# Write out the English steps to finding the first non-valid e-mail character, assuming you start searching at '''index'''
| |
− | *# Write out the English steps to finding the first non-valid e-mail character backwards, assuming you start searching at '''index'''
| |
− | * Write the code for harvesting an e-mail separated by anything (not just spaces)
| |
− | | |
− | == Wednesday (1/9/13) ==
| |
− | * 2nd Quarter Exam Outline
| |
− | ** Closed-note, closed-book, short-answers
| |
− | ** Turtle
| |
− | ** Functions
| |
− | ** Loops
| |
− | ** Strings
| |
− | ** Any assignments that we completed
| |
− | * Demo completed [[E-mail Harvester Assignment]]
| |
− | * Introduction to Flowcharts
| |
− | *# Pseudocode & flowcharts handout
| |
− | *# [[Media:Flowcharts.ppt]]
| |
− | *# As a class, we will draw the flow chart for findAtSymbol()
| |
− | *# As a class, we will draw the flow chart for finding an e-mail address
| |
− | *# Using Google Drive -> Drawing to create flow charts
| |
− | * Harvesting an e-mail separated by anything
| |
− | * Harvesting all e-mails separated by anything
| |
− | | |
− | == Monday - Tuesday (1/7/13 - 1/8/13) ==
| |
− | * Demo completed [[E-mail Harvester Assignment]]
| |
− | * Introduction to Flowcharts
| |
− | *# Pseudocode & flowcharts handout
| |
− | *# [[Media:Flowcharts.ppt]]
| |
− | *# As a class, we will draw the flow chart for findAtSymbol()
| |
− | *# As a class, we will draw the flow chart for finding an e-mail address
| |
− | *# Using Google Drive -> Drawing to create flow charts
| |
− | * Harvesting an e-mail separated by anything
| |
− | * Harvesting all e-mails separated by anything
| |
− | | |
− | == Thursday - Friday (1/3/13 - 1/4/13) ==
| |
− | * Python Review - Take notes with a Google Doc
| |
− | ** Functions
| |
− | ** Loops
| |
− | ** Strings
| |
− | * Demo missing assignments
| |
− | * [[E-mail Harvester Assignment]]
| |
− | | |
− | == Archives ==
| |
− | * [[IBCS1 - 1213 - December]]
| |
− | * [[IBCS1 - 1213 - November]]
| |
− | * [[IBCS1 - 1213 - October]]
| |
− | * [[IBCS1 - 1213 - September]]
| |