<?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_-_1617_-_February</id>
	<title>IBCS1 - 1617 - 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_-_1617_-_February"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1617_-_February&amp;action=history"/>
	<updated>2026-04-12T12:08:26Z</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_-_1617_-_February&amp;diff=13618&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS1 - 1617 - February&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1617_-_February&amp;diff=13618&amp;oldid=prev"/>
		<updated>2017-03-12T23:34:57Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS1_-_1617_-_February&quot; title=&quot;IBCS1 - 1617 - February&quot;&gt;IBCS1 - 1617 - February&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (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 23:34, 12 March 2017&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_-_1617_-_February&amp;diff=13616&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Monday - Tuesday (2/27/17 - 2/28/17) == &#039;&#039;&#039;Agenda:&#039;&#039;&#039; * [http://arlingtonva.libcal.com/event/3006500 Teen Tech Help @ Central Library, Thursday (3/9/17), 3:30-5pm] ** Volun...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1617_-_February&amp;diff=13616&amp;oldid=prev"/>
		<updated>2017-03-12T23:34:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Monday - Tuesday (2/27/17 - 2/28/17) == &amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039; * [http://arlingtonva.libcal.com/event/3006500 Teen Tech Help @ Central Library, Thursday (3/9/17), 3:30-5pm] ** Volun...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Monday - Tuesday (2/27/17 - 2/28/17) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* [http://arlingtonva.libcal.com/event/3006500 Teen Tech Help @ Central Library, Thursday (3/9/17), 3:30-5pm]&lt;br /&gt;
** Volunteer to help adults solve their tech problems&lt;br /&gt;
** Easy service hours!&lt;br /&gt;
** Mr. Bui will provide pizza&lt;br /&gt;
* File Reading/Writing (Input/Output) Review:&lt;br /&gt;
** [https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files Python File Methods/Functions]&lt;br /&gt;
** [https://docs.python.org/3.6/library/stdtypes.html#string-methods Python String Methods/Functions]&lt;br /&gt;
&lt;br /&gt;
* Complete the File R/W (I/O) Exercises:&lt;br /&gt;
*# Read a file with first and last names of people. Extract all their initials, such that first and last initials are combined per person (Paul Bui -&amp;gt; PB). Write/Output that list of initials to a file&lt;br /&gt;
*# Write a program that generates a textfile with 10000 random numbers from 0-100&lt;br /&gt;
*# Read a file with 10000 random numbers from 0 to 100.  Print out the frequency of each of the numbers (Hint: Use a list to track the frequencies)&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;
# read all lines from the file and save them to a listlist&lt;br /&gt;
constitutionList = file.readlines()&lt;br /&gt;
&lt;br /&gt;
# close the file&lt;br /&gt;
file.close()&lt;br /&gt;
&lt;br /&gt;
print(constitutionStr) # What does it print?  Comment this line out and uncomment the next line&lt;br /&gt;
#print(constitutionList)&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;
== Thursday - Friday (2/23/17 - 2/24/17) ==&lt;br /&gt;
* Introduction to [https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files 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;
&lt;br /&gt;
== Tuesday - Wednesday (2/21/17 - 2/22/17) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Assignments thus far:&lt;br /&gt;
** [[E-mail Harvester Assignment]]&lt;br /&gt;
** (Basic) [[Python List Exercises]]&lt;br /&gt;
** 4 exercises from [http://codingbat.com/python/List-1 List-1 (no loops)]&lt;br /&gt;
** 2 exercises from [http://codingbat.com/python/List-2 List-2 (w/ loops)]&lt;br /&gt;
* Complete and [[Advanced Python List Exercises]]&lt;br /&gt;
** The last exercise is an optional challenge&lt;br /&gt;
** You should be able to explain your code and how it works&lt;br /&gt;
&lt;br /&gt;
== Thursday - Friday (2/16/17 - 2/17/17) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Assignments thus far:&lt;br /&gt;
** [[E-mail Harvester Assignment]]&lt;br /&gt;
** (Basic) [[Python List Exercises]]&lt;br /&gt;
** 4 exercises from [http://codingbat.com/python/List-1 List-1 (no loops)]&lt;br /&gt;
** 2 exercises from [http://codingbat.com/python/List-2 List-2 (w/ loops)]&lt;br /&gt;
* Work on [[Advanced Python List Exercises]]&lt;br /&gt;
&lt;br /&gt;
== Monday - Wednesday (2/13/17 - 2/15/17) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Assignments thus far:&lt;br /&gt;
** [[E-mail Harvester Assignment]]&lt;br /&gt;
** (Basic) [[Python List Exercises]]&lt;br /&gt;
* Complete and demo today:&lt;br /&gt;
** Complete 4 exercises from [http://codingbat.com/python/List-1 List-1 (no loops)]&lt;br /&gt;
** Complete 2 exercises from [http://codingbat.com/python/List-2 List-2 (w/ loops)]&lt;br /&gt;
* Work on [[Advanced Python List Exercises]]&lt;br /&gt;
&lt;br /&gt;
== Thursday - Friday (2/9/17 - 2/10/17) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo missing assignment(s)&lt;br /&gt;
* Computer science course options for next year&lt;br /&gt;
* Introduction to Lists&lt;br /&gt;
** [[Media:Lists_Python.ppt]]&lt;br /&gt;
* Complete (Basic) [[Python List Exercises]] and turn it in via Google Classroom&lt;br /&gt;
* Complete 4 exercises from [http://codingbat.com/python/List-1 List-1 (no loops)]&lt;br /&gt;
* Complete 2 exercises from [http://codingbat.com/python/List-2 List-2 (w/ loops)]&lt;br /&gt;
* Complete [[Advanced Python List Exercises]]&lt;br /&gt;
&lt;br /&gt;
== Tuesday - Wednesday (2/7/17 - 2/8/17) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo [[E-mail Harvester Assignment]]&lt;br /&gt;
* Introduction to Lists&lt;br /&gt;
** [[Media:Lists_Python.ppt]]&lt;br /&gt;
* Complete (Basic) [[Python List Exercises]] and turn it in via Google Classroom&lt;br /&gt;
* Complete 4 exercises from [http://codingbat.com/python/List-1 List-1 (no loops)]&lt;br /&gt;
* Complete 2 exercises from [http://codingbat.com/python/List-2 List-2 (w/  loops)]&lt;br /&gt;
* Complete [[Advanced Python List Exercises]]&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Monday (2/1/17 - 2/6/17) ==&lt;br /&gt;
* Complete and demo [[E-mail Harvester Assignment]]&lt;br /&gt;
** Work on the advanced challenges&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>