|
|
Line 1: |
Line 1: |
− | == Monday - Wednesday (4/4/16 - 4/6/16) == | + | == [[IBCS1 - Archives]] == |
− | '''Agenda:'''
| |
− | * Demo missing assignments
| |
− | * Two-dimensional lists (matrices)
| |
− | ** [[Media:2DimLists_Python.pptx]]
| |
− | * Work on [https://docs.google.com/document/d/1lwSV1-NFk6nSnoF3d5wogpyP1X9H_FbeqLfgGkJyCLo/edit?usp=sharing Lab 7: Tic-Tac-Toe (Part 2)]
| |
− | | |
− | == Tuesday - Thursday (3/29/16 - 3/31/16) ==
| |
− | '''Agenda:'''
| |
− | * Demo missing assignments
| |
− | * Complete [https://docs.google.com/document/d/1qz9YWbJ5F_ianPpGI7xoDa1pualWNuncmC9gXkI0CgM/edit?usp=sharing Lab 6: Tic-Tac-Toe (Part 1)]
| |
− | * Two-dimensional lists (matrices)
| |
− | ** [[Media:2DimLists_Python.pptx]]
| |
− | * Work on [https://docs.google.com/document/d/1lwSV1-NFk6nSnoF3d5wogpyP1X9H_FbeqLfgGkJyCLo/edit?usp=sharing Lab 7: Tic-Tac-Toe (Part 2)]
| |
− | | |
− | == Monday - Friday (3/21/16 - 3/25/16) ==
| |
− | * Spring Break
| |
− | | |
− | == Friday (3/18/16) ==
| |
− | '''Agenda:'''
| |
− | * Work on [https://docs.google.com/document/d/1qz9YWbJ5F_ianPpGI7xoDa1pualWNuncmC9gXkI0CgM/edit?usp=sharing Lab 6: Tic-Tac-Toe (Part 1)]
| |
− | * Two-dimensional lists (matrices)
| |
− | | |
− | == Wednesday (3/16/16) ==
| |
− | '''Agenda:'''
| |
− | * Demo [https://docs.google.com/document/d/1NyUifJyiIxKupLXLLlbIcLB4SUCB_mLQs4GyhSaMSIw/edit?usp=sharing Processing Lab 5: Ping]
| |
− | * Work on [https://docs.google.com/document/d/1qz9YWbJ5F_ianPpGI7xoDa1pualWNuncmC9gXkI0CgM/edit?usp=sharing Lab 6: Tic-Tac-Toe (Part 1)]
| |
− | | |
− | == Monday (3/14/16) ==
| |
− | '''Agenda:'''
| |
− | * Keyboard notes
| |
− | * Work on [https://docs.google.com/document/d/1NyUifJyiIxKupLXLLlbIcLB4SUCB_mLQs4GyhSaMSIw/edit?usp=sharing Processing Lab 5: Ping]
| |
− | * Additional Challenges:
| |
− | ** Add a keyboard paddle
| |
− | ** Allow the keyboard and mouse to charge the net (be sure to draw a net)
| |
− | | |
− | == Tuesday - Thursday (3/8/16 - 3/10/16) ==
| |
− | '''Agenda:'''
| |
− | * Teen Tech Help volunteer opportunity
| |
− | ** Thursday (3/10/16), 3:30-5pm @ Central Library
| |
− | ** Show old people how to use their electronic devices
| |
− | * Demo missing assignments
| |
− | * Complete [https://docs.google.com/document/d/1xRSA_Ti8l5002jcAftcUtCTdujCojghzoTpUZwJvHQ4/edit?usp=sharing Processing Lab 3: Bouncing Ball]
| |
− | * Complete [https://docs.google.com/document/d/1RCVlD8xOl4mzuIm2kxQUtyccOOJa_6bBFVa3S57Sj_E/edit?usp=sharing Processing Lab 4: Simple Paint App]
| |
− | * Work on [https://docs.google.com/document/d/1NyUifJyiIxKupLXLLlbIcLB4SUCB_mLQs4GyhSaMSIw/edit?usp=sharing Processing Lab 5: Ping]
| |
− | | |
− | == Friday (3/4/16) ==
| |
− | '''Agenda:'''
| |
− | * Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Processing Lab 1: My First Sketch]
| |
− | * Complete [https://docs.google.com/document/d/1yxestu4zbLljylbwmSUnskOcwiTnwf-wOTFvyHF1xoo/edit?usp=sharing Processing Lab 2: My First Animation]
| |
− | * Complete [https://docs.google.com/document/d/1xRSA_Ti8l5002jcAftcUtCTdujCojghzoTpUZwJvHQ4/edit?usp=sharing Processing Lab 3: Bouncing Ball]
| |
− | * Complete [https://docs.google.com/document/d/1RCVlD8xOl4mzuIm2kxQUtyccOOJa_6bBFVa3S57Sj_E/edit?usp=sharing Processing Lab 4: Simple Paint App]
| |
− | | |
− | == Wednesday (3/2/16) ==
| |
− | * Demo missing assignments
| |
− | * Introduction to Processing - Python Mode
| |
− | ** Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Processing Lab 1: My First Sketch]
| |
− | ** Complete [https://docs.google.com/document/d/1yxestu4zbLljylbwmSUnskOcwiTnwf-wOTFvyHF1xoo/edit?usp=sharing Processing Lab 2: My First Animation]
| |
− | ** Complete [https://docs.google.com/document/d/1xRSA_Ti8l5002jcAftcUtCTdujCojghzoTpUZwJvHQ4/edit?usp=sharing Processing Lab 3: Bouncing Ball]
| |
− | | |
− | == Monday - Wednesday (2/29/16 - 3/2/16) ==
| |
− | '''Agenda:'''
| |
− | * Demo Benford's Law Assignment
| |
− | * Introduction to Processing - Python Mode
| |
− | ** Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Processing Lab 1: My First Sketch]
| |
− | | |
− | == Tuesday - Thursday (2/23/16 - 2/25/16) ==
| |
− | '''Agenda:'''
| |
− | * File I/O review
| |
− | * Demo any missing assignments
| |
− | * Benford's Law Assignment
| |
− | *# Create a text file that contains a list of 1000 numbers from a naturally occurring data set
| |
− | *#* If you cannot find one, try to getting ideas from:
| |
− | *#**[http://testingbenfordslaw.com/ Testing Benford's Law]
| |
− | *#**[http://www.data.gov U.S. Government's Open Data]
| |
− | *#**[http://www.census.gov/ U.S. Census Bureau]
| |
− | *# Write a python program that reads the file, extracts the first digit of every number, and determines the frequencies of 1-9
| |
− | *# Print out the frequencies (percentages) of the numbers 1 through 9
| |
− | | |
− | == Wednesday - Friday (2/17/16 - 2/19/16) ==
| |
− | '''Agenda:'''
| |
− | * Introduction to File Reading & Writing (Input & Output)
| |
− | *# 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 that converts a string to a list of words.
| |
− | *# Write a program that generates a textfile with 10000 random numbers from 0-100
| |
− | *# Assume you have a single data file with 10000 random numbers from 0 to 100. Print out the frequency of each of the numbers.
| |
− | *# Assume you have a list of strings of peoples' full names in random order. Print out an alphabetized list of only the last names.
| |
− | | |
− | * 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>
| |
− | | |
− | * Example code to help write to a file:
| |
− | <syntaxhighlight lang="Python">
| |
− | # open a text file
| |
− | file = open("output.txt", "w")
| |
− | | |
− | # read all lines in the file and save in the constitution string variable
| |
− | file.write("Hello!\n")
| |
− | file.write("world!")
| |
− | | |
− | # close the file
| |
− | file.close()
| |
− | </syntaxhighlight>
| |
− | | |
− | == Wednesday - Friday (2/10/16 - 2/12/16) ==
| |
− | '''Agenda:'''
| |
− | * Complete [[Advanced Python List Exercises]]
| |
− | * Benford's Law
| |
− | *# Read and watch [http://www.kirix.com/blog/2008/07/22/fun-and-fraud-detection-with-benfords-law/ Benford's Law and Fraud Detection]
| |
− | *# Further reading [http://mathworld.wolfram.com/BenfordsLaw.html Benford's Law]
| |
− | *# Research and find a set of naturally occurring numbers. Here are some ideas, but you can come up with your own:
| |
− | *#*[http://testingbenfordslaw.com/ Testing Benford's Law]
| |
− | *#*[http://www.data.gov U.S. Government's Open Data]
| |
− | *#* [http://www.census.gov/ U.S. Census Bureau]
| |
− | *#* Heights of mountains
| |
− | *#* Atomic weights in the periodic table
| |
− | *#* Baseball statistics
| |
− | *#* etc.
| |
− | *# Create a text file that contains a list of your numbers (try to have a list of 1000 numbers if possible)
| |
− | | |
− | == Monday (2/8/16) ==
| |
− | '''Warmup:'''
| |
− | # Given numList = [9, 6, 3, 1, 3, 6, 8]
| |
− | # Use a for loop to print out half of each element
| |
− | | |
− | # Given strList = ["Arlington", "Fairfax", "Falls Church", "Alexandria"]
| |
− | # Use a for loop to print out the first letter of each element
| |
− | | |
− | '''Agenda:'''
| |
− | * CRFs & CS Courses
| |
− | * Complete [[Advanced Python List Exercises]]
| |
− | | |
− | == Thursday (2/4/16) ==
| |
− | '''Warmup:'''
| |
− | # Given the following list: warmupList = [1, 3, 5, 2, 4, 6]
| |
− | # Swap the first and last elements in warmupList (you should use a temp variable)
| |
− | # Be sure to make it so that your code works for ANY list (i.e. any numbers in the list)
| |
− | | |
− | '''Agenda:'''
| |
− | * CRFs & CS Courses
| |
− | * Complete [[Advanced Python List Exercises]]
| |
− | | |
− | == Tuesday (2/2/16) ==
| |
− | * StudentVUE has been updated
| |
− | ** You have until tomorrow to demo missing assignments
| |
− | ** If you are turning in a missing assignment, you MUST show it to Mr. Bui in person
| |
− | * Group 4 Projects
| |
− | ** DUE TODAY
| |
− | ** Submit video via Google Classroom
| |
− | ** Submit hard-copy cover sheets and peer assessments to your teachers
| |
− | * IB candidate session numbers
| |
− | ** [http://www.washlee.net/ib http://www.washlee.net/ib]
| |
− | ** Sophomores and Juniors who are *not* taking exams this year do not have numbers (leave that field on the cover sheet blank)
| |
− | * Complete [[Advanced Python List Exercises]]
| |
− | | |
− | == Archives ==
| |
− | * [[IBCS1 - 1516 - January]]
| |
− | * [[IBCS1 - 1516 - December]]
| |
− | * [[IBCS1 - 1516 - November]]
| |
− | * [[IBCS1 - 1516 - October]]
| |
− | * [[IBCS1 - 1516 - September]]
| |