<?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_-_1314_-_December</id>
	<title>IBCS1 - 1314 - December - 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_-_1314_-_December"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1314_-_December&amp;action=history"/>
	<updated>2026-04-10T13:11:33Z</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_-_1314_-_December&amp;diff=10981&amp;oldid=prev</id>
		<title>Admin: Protected &quot;IBCS1 - 1314 - December&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_-_1314_-_December&amp;diff=10981&amp;oldid=prev"/>
		<updated>2014-01-23T15:42:54Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wl/IBCS1_-_1314_-_December&quot; title=&quot;IBCS1 - 1314 - December&quot;&gt;IBCS1 - 1314 - December&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 15:42, 23 January 2014&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_-_1314_-_December&amp;diff=10979&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Monday - Wednesday (12/23/13 - 1/1/14) == * Winter Break  &#039;&#039;&#039;Homework:&#039;&#039;&#039; * Complete the Acey Deucey Flowchart over the non-denominational winter holiday * Share the flowchart...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS1_-_1314_-_December&amp;diff=10979&amp;oldid=prev"/>
		<updated>2014-01-23T15:42:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Monday - Wednesday (12/23/13 - 1/1/14) == * Winter Break  &amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039; * Complete the Acey Deucey Flowchart over the non-denominational winter holiday * Share the flowchart...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Monday - Wednesday (12/23/13 - 1/1/14) ==&lt;br /&gt;
* Winter Break&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete the Acey Deucey Flowchart over the non-denominational winter holiday&lt;br /&gt;
* Share the flowchart with Mr. Bui over Google Drive&lt;br /&gt;
** You can upload as a pdf and share it&lt;br /&gt;
&lt;br /&gt;
== Thursday - Friday (12/19/13) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* War Code Quiz&lt;br /&gt;
* Acey Deucey Rules checklist&lt;br /&gt;
* Acey Deucey Flowchart Assignment&lt;br /&gt;
*# Read all the rules of the game: [http://en.wikipedia.org/wiki/Acey_Deucey_(card_game) Acey Deucey Rules]&lt;br /&gt;
*# You do not need to learn or use the region-specific rules.&lt;br /&gt;
*# Create a flowchart that models the Acey Deucey card game and its rules (you can use whatever program(s) you like)&lt;br /&gt;
*# You need to be sure to include all the rules in your flow chart&lt;br /&gt;
*# You need to use the standard flowchart symbols: [[Media:Flowcharts.ppt]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete the Acey Deucey Flowchart over the non-denominational winter holiday&lt;br /&gt;
* Share the flowchart with Mr. Bui over Google Drive&lt;br /&gt;
** You can upload as a pdf and share it&lt;br /&gt;
&lt;br /&gt;
== Monday - Wednesday (12/16/13 - 12/18/13) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* War Card Simulation&lt;br /&gt;
*# Finish War Code&lt;br /&gt;
*# Receive a copy of the War code&lt;br /&gt;
*# Type up the War code on your computer and comment the code to explain what all the major lines do&lt;br /&gt;
*# Make sure your War Card program works&lt;br /&gt;
* Bring a deck of cards to next class&lt;br /&gt;
* Acey Deucey Flowchart Assignment&lt;br /&gt;
*# Read all the rules of the game: [http://en.wikipedia.org/wiki/Acey_Deucey_(card_game) Acey Deucey Rules]&lt;br /&gt;
*# You do not need to learn or use the region-specific rules.&lt;br /&gt;
*# Create a flowchart that models the Acey Deucey card game and its rules (you can use whatever program(s) you like)&lt;br /&gt;
*# You need to be sure to include all the rules in your flow chart&lt;br /&gt;
*# You need to use the standard flowchart symbols: [[Media:Flowcharts.ppt]]&lt;br /&gt;
&lt;br /&gt;
== Wednesday - Friday (12/11/13 - 12/13/13) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Introduction to Flow Charts&lt;br /&gt;
** [[Media:Flowcharts.ppt]]&lt;br /&gt;
** Draw the flowchart for the list search algorithm (finding a number in a list of numbers)&lt;br /&gt;
** Draw the flowchart for the list minimum algorithm&lt;br /&gt;
* War Card &amp;quot;Game&amp;quot; Simulator Walk-through&lt;br /&gt;
*# Read the [http://en.wikipedia.org/wiki/War_(card_game) War Rules]&lt;br /&gt;
*# On a piece of paper or using a computer drawing tool (e.g. Google Draw, MS Word), create a flow chart for the rules and steps of War. Be sure to include the following steps:&lt;br /&gt;
*#* Shuffle deck&lt;br /&gt;
*#* Deal deck halves to 2 players&lt;br /&gt;
*#* Each player reveals top card&lt;br /&gt;
*#* Player with higher card puts both cards at the bottom of his/her deck&lt;br /&gt;
*#* If both players&amp;#039; cards match, then there is &amp;quot;war&amp;quot;&lt;br /&gt;
*#*# Both players put 3 cards face down, and reveal 4th card face up. Player with higher card takes all 10 cards&lt;br /&gt;
*# We will code the War card game as a class using our flow chart&lt;br /&gt;
* Receive a copy of the War code&lt;br /&gt;
* Type up the War code on your computer and comment the code to explain what all the major lines do&lt;br /&gt;
&lt;br /&gt;
== Monday - Tuesday (12/9/13 - 12/10/13) ==&lt;br /&gt;
* Snow Days&lt;br /&gt;
&lt;br /&gt;
== Thursday - Friday (12/5/13 - 12/6/13) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Text-based card game introduction warmup&lt;br /&gt;
*# Create a text file that has all the names for a deck of cards (Examples: 5 of Diamonds, Jack of Clubs)&lt;br /&gt;
*# Write a program that loads the text file&amp;#039;s data into a list of strings&lt;br /&gt;
*#* Look through [http://docs.python.org/3.3/tutorial/inputoutput.html#reading-and-writing-files Python-reading and writing files] and find the the &amp;#039;&amp;#039;&amp;#039;f.readlines()&amp;#039;&amp;#039;&amp;#039; function&lt;br /&gt;
*# Store all the strings loaded into a list of strings named deck&lt;br /&gt;
*# Create 2 empty lists named p1Hand and p2Hand&lt;br /&gt;
*# Deal 5 cards from the deck to p1Hand&lt;br /&gt;
*#* Look through [http://docs.python.org/3.3/tutorial/datastructures.html#more-on-lists Python-Lists] and find the &amp;#039;&amp;#039;&amp;#039;list.pop()&amp;#039;&amp;#039;&amp;#039; function.  Read how the functions works to remove elements from a list.  You can then use the &amp;#039;&amp;#039;&amp;#039;list.append()&amp;#039;&amp;#039;&amp;#039; function to add those elements to another list&lt;br /&gt;
*# Deal 5 cards from the deck to p2Hand&lt;br /&gt;
*# Print out both hands&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Introduction to Flow Charts&lt;br /&gt;
** [[Media:Flowcharts.ppt]]&lt;br /&gt;
** Draw the flowchart for the list search algorithm (finding a number in a list of numbers)&lt;br /&gt;
** Draw the flowchart for the list minimum algorithm&lt;br /&gt;
* War Card &amp;quot;Game&amp;quot; Simulator Walk-through&lt;br /&gt;
*# Read the [http://en.wikipedia.org/wiki/War_(card_game) War Rules]&lt;br /&gt;
*# On a piece of paper or using a computer drawing tool (e.g. Google Draw, MS Word), create a flow chart for the rules and steps of War. Be sure to include the following steps:&lt;br /&gt;
*#* Shuffle deck&lt;br /&gt;
*#* Deal deck halves to 2 players&lt;br /&gt;
*#* Each player reveals top card&lt;br /&gt;
*#* Player with higher card puts both cards at the bottom of his/her deck&lt;br /&gt;
*#* If both players&amp;#039; cards match, then there is &amp;quot;war&amp;quot;&lt;br /&gt;
*#*# Both players put 3 cards face down, and reveal 4th card face up. Player with higher card takes all 10 cards&lt;br /&gt;
*# We will code the War card game as a class using our flow chart&lt;br /&gt;
&lt;br /&gt;
== Monday - Wednesday (12/2/13 - 12/4/13) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Demo [[Advanced Python List Exercises]]&lt;br /&gt;
* List &amp;amp; String Practice&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;
*# 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 converts a string to a list of words.&lt;br /&gt;
*# Assume you have a single data file with 1000 random numbers from 0 to 100.  Print out the frequency of each of the numbers.&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;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>