<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.paulbui.net/wiki/index.php?action=history&amp;feed=atom&amp;title=IBCS1_-_1516_-_February</id>
	<title>IBCS1 - 1516 - February - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.paulbui.net/wiki/index.php?action=history&amp;feed=atom&amp;title=IBCS1_-_1516_-_February"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1516_-_February&amp;action=history"/>
	<updated>2026-09-10T16:58:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1516_-_February&amp;diff=12923&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS1 - 1516 - February&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1516_-_February&amp;diff=12923&amp;oldid=prev"/>
		<updated>2016-04-08T14:15:41Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS1_-_1516_-_February&quot; title=&quot;IBCS1 - 1516 - February&quot;&gt;IBCS1 - 1516 - February&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:15, 8 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1516_-_February&amp;diff=12921&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Monday - Wednesday (2/29/16 - 3/2/16) == &#039;&#039;&#039;Agenda:&#039;&#039;&#039; * Demo Benford&#039;s Law Assignment * Introduction to Processing - Python Mode ** Complete [https://docs.google.com/document...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1516_-_February&amp;diff=12921&amp;oldid=prev"/>
		<updated>2016-04-08T14:15:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Monday - Wednesday (2/29/16 - 3/2/16) == &amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039; * Demo Benford&amp;#039;s Law Assignment * Introduction to Processing - Python Mode ** Complete [https://docs.google.com/document...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Monday - Wednesday (2/29/16 - 3/2/16) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo Benford&amp;#039;s Law Assignment&lt;br /&gt;
* Introduction to Processing - Python Mode&lt;br /&gt;
** Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Processing Lab 1: My First Sketch]&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Thursday (2/23/16 - 2/25/16) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* File I/O review&lt;br /&gt;
* Demo any missing assignments&lt;br /&gt;
* Benford&amp;#039;s Law Assignment&lt;br /&gt;
*# Create a text file that contains a list of 1000 numbers from a naturally occurring data set&lt;br /&gt;
*#* If you cannot find one, try to getting ideas from: &lt;br /&gt;
*#**[http://testingbenfordslaw.com/ Testing Benford&amp;#039;s Law]&lt;br /&gt;
*#**[http://www.data.gov U.S. Government&amp;#039;s Open Data]&lt;br /&gt;
*#**[http://www.census.gov/ U.S. Census Bureau]&lt;br /&gt;
*# Write a python program that reads the file, extracts the first digit of every number, and determines the frequencies of 1-9&lt;br /&gt;
*# Print out the frequencies (percentages) of the numbers 1 through 9&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Friday (2/17/16 - 2/19/16) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Introduction to File Reading &amp;amp; Writing (Input &amp;amp; Output)&lt;br /&gt;
*# Assume you have a single string containing the entire U.S. Constitution.  Calculate and print out the frequency of the word &amp;quot;the&amp;quot;&lt;br /&gt;
*#* Download the following file: [[Media:Constitution.txt]]&lt;br /&gt;
*#* Hint: There is a useful string function that converts a string to a list of words.&lt;br /&gt;
*# Write a program that generates a textfile with 10000 random numbers from 0-100&lt;br /&gt;
*# Assume you have a single data file with 10000 random numbers from 0 to 100.  Print out the frequency of each of the numbers.&lt;br /&gt;
*# Assume you have a list of strings of peoples&amp;#039; full names in random order.  Print out an alphabetized list of only the last names.&lt;br /&gt;
&lt;br /&gt;
* Example code to help read in a file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Python&amp;quot;&amp;gt;&lt;br /&gt;
# open a text file&lt;br /&gt;
file = open(&amp;quot;Constitution.txt&amp;quot;, &amp;quot;r&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# read all lines in the file and save in the constitution string variable&lt;br /&gt;
constitutionStr = file.read()&lt;br /&gt;
&lt;br /&gt;
# close the file&lt;br /&gt;
file.close()&lt;br /&gt;
&lt;br /&gt;
print(constitutionStr)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Example code to help write to a file:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;Python&amp;quot;&amp;gt;&lt;br /&gt;
# open a text file&lt;br /&gt;
file = open(&amp;quot;output.txt&amp;quot;, &amp;quot;w&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# read all lines in the file and save in the constitution string variable&lt;br /&gt;
file.write(&amp;quot;Hello!\n&amp;quot;)&lt;br /&gt;
file.write(&amp;quot;world!&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
# close the file&lt;br /&gt;
file.close()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Friday (2/10/16 - 2/12/16) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete [[Advanced Python List Exercises]]&lt;br /&gt;
* Benford&amp;#039;s Law&lt;br /&gt;
*# Read and watch [http://www.kirix.com/blog/2008/07/22/fun-and-fraud-detection-with-benfords-law/ Benford&amp;#039;s Law and Fraud Detection]&lt;br /&gt;
*# Further reading [http://mathworld.wolfram.com/BenfordsLaw.html Benford&amp;#039;s Law]&lt;br /&gt;
*# Research and find a set of naturally occurring numbers.  Here are some ideas, but you can come up with your own:&lt;br /&gt;
*#*[http://testingbenfordslaw.com/ Testing Benford&amp;#039;s Law]&lt;br /&gt;
*#*[http://www.data.gov U.S. Government&amp;#039;s Open Data]&lt;br /&gt;
*#* [http://www.census.gov/ U.S. Census Bureau]&lt;br /&gt;
*#* Heights of mountains&lt;br /&gt;
*#* Atomic weights in the periodic table&lt;br /&gt;
*#* Baseball statistics&lt;br /&gt;
*#* etc.&lt;br /&gt;
*# Create a text file that contains a list of your numbers (try to have a list of 1000 numbers if possible)&lt;br /&gt;
&lt;br /&gt;
== Monday (2/8/16) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Given numList = [9, 6, 3, 1, 3, 6, 8]&lt;br /&gt;
# Use a for loop to print out half of each element&lt;br /&gt;
&lt;br /&gt;
# Given strList = [&amp;quot;Arlington&amp;quot;, &amp;quot;Fairfax&amp;quot;, &amp;quot;Falls Church&amp;quot;, &amp;quot;Alexandria&amp;quot;]&lt;br /&gt;
# Use a for loop to print out the first letter of each element&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* CRFs &amp;amp; CS Courses&lt;br /&gt;
* Complete [[Advanced Python List Exercises]]&lt;br /&gt;
&lt;br /&gt;
== Thursday (2/4/16) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Given the following list: warmupList = [1, 3, 5, 2, 4, 6]&lt;br /&gt;
# Swap the first and last elements in warmupList (you should use a temp variable)&lt;br /&gt;
# Be sure to make it so that your code works for ANY list (i.e. any numbers in the list)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* CRFs &amp;amp; CS Courses&lt;br /&gt;
* Complete [[Advanced Python List Exercises]]&lt;br /&gt;
&lt;br /&gt;
== Tuesday (2/2/16) ==&lt;br /&gt;
* StudentVUE has been updated&lt;br /&gt;
** You have until tomorrow to demo missing assignments&lt;br /&gt;
** If you are turning in a missing assignment, you MUST show it to Mr. Bui in person&lt;br /&gt;
* Group 4 Projects&lt;br /&gt;
** DUE TODAY&lt;br /&gt;
** Submit video via Google Classroom&lt;br /&gt;
** Submit hard-copy cover sheets and peer assessments to your teachers&lt;br /&gt;
* IB candidate session numbers&lt;br /&gt;
** [http://www.washlee.net/ib http://www.washlee.net/ib]&lt;br /&gt;
** Sophomores and Juniors who are *not* taking exams this year do not have numbers (leave that field on the cover sheet blank)&lt;br /&gt;
* Complete [[Advanced Python List Exercises]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>