|
|
(72 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | == Tuesday - Thursday (2/25/20 - 2/27/20) ==
| |
− | '''Agenda:'''
| |
− | * Last day for missing assignments before interim grades
| |
− | * Benford's Law Assignment
| |
− | *# 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]
| |
− | *#** [https://catalog.data.gov/dataset?res_format=CSV Data.gov Datasets]
| |
− | *#* [http://www.census.gov/ U.S. Census Bureau]
| |
− | *#* [https://www.tableau.com/learn/articles/free-public-data-sets Tableau: Free Public Data Sets]
| |
− | *#* [https://www.springboard.com/blog/free-public-data-sets-data-science-project/ Springboard: Free Public Data Sets]
| |
− | *#* 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)
| |
− | *#* There are many different ways to do this...some people use Excel, Google Sheets, Sublime, Notepad, etc.
| |
− | *# Write a program that loads your text file, reads the data, extracts the leading digit(s) of the data set, and displays each digit's frequency as a percentage
| |
− | *# Additional challenges:
| |
− | *#* Look for any repeating patterns in your code and see if you can refactor your code to eliminate "bad code"
| |
− | *#* Use Processing to load a file, determine the frequencies, and then visually display a bar graph (note: read the Processing documentation to load a file)
| |
− |
| |
− | == Wednesday - Friday (2/19/20 - 2/21/20) ==
| |
− | '''Agenda:'''
| |
− | * Missing Robots + Item Collection Game (Top Down) w/ lists and loops demo
| |
− | * Strings and Lists notes - https://docs.python.org/3/library/stdtypes.html#string-methods
| |
− | ** split()
| |
− | * File Reading and Writing - https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files
| |
− | ** [[Media:Constitution.txt]]
| |
− | *** How many times does the word "the" appear in the constitution? (capitalized or not)
| |
− | ** http://courses.washington.edu/b517/Datasets/datasets.html
| |
− | * Practice with the datasets...
| |
− | ** Average length of a group of sharks - http://courses.washington.edu/b517/Datasets/sharklengths.csv
| |
− | ** Birthdata - http://courses.washington.edu/b517/Datasets/BirthsKingCounty2001.txt
| |
− | *** Male : Female birth ratio
| |
− | *** Racial/ethnic percentages
| |
− | * Benford's Law Assignment
| |
− | *# 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]
| |
− | *#** [https://catalog.data.gov/dataset?res_format=CSV Data.gov Datasets]
| |
− | *#* [http://www.census.gov/ U.S. Census Bureau]
| |
− | *#* [https://www.tableau.com/learn/articles/free-public-data-sets Tableau: Free Public Data Sets]
| |
− | *#* [https://www.springboard.com/blog/free-public-data-sets-data-science-project/ Springboard: Free Public Data Sets]
| |
− | *#* 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)
| |
− | *#* There are many different ways to do this...some people use Excel, Google Sheets, Sublime, Notepad, etc.
| |
− | *# Write a program that loads your text file, reads the data, extracts the leading digit(s) of the data set, and displays each digit's frequency as a percentage
| |
− |
| |
− | == Wednesday - Friday (2/12/20 - 2/14/20) ==
| |
− | '''Agenda:'''
| |
− | * Python Lists Quiz in Canvas
| |
− | * Re-implement Robots + Item Collection Game (Top Down) w/ lists and loops
| |
− | ** Demo your game
| |
− | * Strings and Lists notes - https://docs.python.org/3/library/stdtypes.html#string-methods
| |
− | ** split()
| |
− | * File Reading and Writing - https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files
| |
− | ** [[Media:Constitution.txt]]
| |
− | ** http://courses.washington.edu/b517/Datasets/datasets.html
| |
− |
| |
− | == Monday (2/10/20) ==
| |
− | '''Agenda:'''
| |
− | * Lists quiz on '''Wednesday (2/12/20)'''
| |
− | ** List basics (creating, accessing, modifying, etc.)
| |
− | ** List traversal (loops w/ lists)
| |
− | ** List summation, search, and/or min/max
| |
− | * Lists of Objects
| |
− | ** Bouncing Ball w/ lists
| |
− | ** Flappy Bird w/ lists
| |
− | * Assignment: re-implement Robots + Item Collection Game (Top Down) w/ lists and loops
| |
− | ** You should have 3 lists: allObjects, robots, & items
| |
− |
| |
− | == Tuesday - Thursday (2/4/20 - 2/6/20) ==
| |
− | '''Warmup:'''
| |
− | * Complete the bigger() and isDigit() repl.its
| |
− |
| |
− | '''Agenda:'''
| |
− | * Course Request Forms
| |
− | ** Rising Seniors -> IB CS 2 and/or AP CS A and/or AP CS Principles
| |
− | ** Rising Juniors -> AP CS A and/or AP CS Principles
| |
− | * Review [[Python List Exercises]]
| |
− | * Complete List Repl.its by '''Thursday 2/6/20'''
| |
− | ** List Review Exercises
| |
− | ** List Search
| |
− | ** List Minimum
| |
− | ** List Maximum
| |
− | ** List Reverse
| |
− | * Optional List Challenge:
| |
− | ** Complete Random Number List and List Surprise from [[Advanced Python List Exercises]]
| |
− | * Lists of Objects
| |
− | ** Bouncing Ball w/ lists
| |
− | ** Flappy Bird w/ lists
| |
− |
| |
− | == [[IBCS1 - 1920 - January]] ==
| |
− | == [[IBCS1 - 1920 - December]] ==
| |
− | == [[IBCS1 - 1920 - November]] ==
| |
− | == [[IBCS1 - 1920 - October]] ==
| |
− | == [[IBCS1 - 1920 - September]] ==
| |
| == [[IBCS1 - Archives]] == | | == [[IBCS1 - Archives]] == |