<?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=IBCS2_-_1011_-_October</id>
	<title>IBCS2 - 1011 - October - 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=IBCS2_-_1011_-_October"/>
	<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_October&amp;action=history"/>
	<updated>2026-04-11T12:35: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=IBCS2_-_1011_-_October&amp;diff=8100&amp;oldid=prev</id>
		<title>Admin: /* Friday (10/29/30) */</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_October&amp;diff=8100&amp;oldid=prev"/>
		<updated>2011-10-11T16:45:24Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Friday (10/29/30)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:45, 11 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Friday (10/29/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;30&lt;/del&gt;) ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Friday (10/29/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;10&lt;/ins&gt;) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Draw the memory diagram after the following code executes:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Draw the memory diagram after the following code executes:&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=IBCS2_-_1011_-_October&amp;diff=6389&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;== Friday (10/29/30) == &#039;&#039;&#039;Warmup:&#039;&#039;&#039; * Draw the memory diagram after the following code executes: &lt;source lang=&quot;Java&quot;&gt; Node fun = new Node(42); Node general = new Node (11); Nod...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.paulbui.net/wiki/index.php?title=IBCS2_-_1011_-_October&amp;diff=6389&amp;oldid=prev"/>
		<updated>2010-11-16T03:27:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Friday (10/29/30) == &amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039; * Draw the memory diagram after the following code executes: &amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt; Node fun = new Node(42); Node general = new Node (11); Nod...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Friday (10/29/30) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Draw the memory diagram after the following code executes:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;Java&amp;quot;&amp;gt;&lt;br /&gt;
Node fun = new Node(42);&lt;br /&gt;
Node general = new Node (11);&lt;br /&gt;
Node a, b, c;&lt;br /&gt;
 &lt;br /&gt;
a = general;&lt;br /&gt;
b = a;&lt;br /&gt;
fun.next = b;&lt;br /&gt;
c = fun;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Node Practice&lt;br /&gt;
** [[Media:NodeFunAgain.java]]&lt;br /&gt;
* Dynamically-sized Stacks&lt;br /&gt;
** Create a new class called DynamicStack&lt;br /&gt;
*** [[Media:DynamicStack.java]]&lt;br /&gt;
** What attribute must we keep track of when we talk about stacks?&lt;br /&gt;
** Create a Node reference for the most important stack attribute&lt;br /&gt;
** Implement push(int num) using Nodes. &lt;br /&gt;
*** push() should not return anything&lt;br /&gt;
*** push() creates a new Node with the num, and set the new Node&amp;#039;s next reference to the top&lt;br /&gt;
*** Don&amp;#039;t forget to update the top to be the new node!&lt;br /&gt;
** Implement pop(), which should POP and return the value on top of the stack and update the top&lt;br /&gt;
** Implement top(), which should just return the value on top of the stack&lt;br /&gt;
** Implement isEmpty() which returns true if the stack is empty&lt;br /&gt;
** Implement print() which should print your entire stack&lt;br /&gt;
** TEST YOUR STACK USING MR. BUI&amp;#039;S STACK MAIN OR YOUR OWN MAIN METHOD&lt;br /&gt;
* Dynamically-sized Queues&lt;br /&gt;
** Create a new class called DynamicQueue&lt;br /&gt;
*** [[Media:DynamicQueue.java]]&lt;br /&gt;
** Test out your DynamicQueue using the original QueueMain file&lt;br /&gt;
&lt;br /&gt;
== Wednesday (10/27/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* What does FIFO stand for?&lt;br /&gt;
* When would you want to use a queue?  Give an example&lt;br /&gt;
* Assume the following queue operations have occurred:&lt;br /&gt;
*# Add &amp;quot;Nick&amp;quot;&lt;br /&gt;
*# Add &amp;quot;Scarlet&amp;quot;&lt;br /&gt;
*# Add &amp;quot;Sheng&amp;quot;&lt;br /&gt;
*# Remove&lt;br /&gt;
*# Add &amp;quot;Daniel&amp;quot;&lt;br /&gt;
*# Remove&lt;br /&gt;
*# What is left in the queue?&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Object and References Review&lt;br /&gt;
** [[Media:Point.java]]&lt;br /&gt;
** [[Media:ReferencesReview.java]]&lt;br /&gt;
* Node class&lt;br /&gt;
** [[Media:Node.java]]&lt;br /&gt;
** [[Media:NodeFun.java]]&lt;br /&gt;
* Node references practice&lt;br /&gt;
* Read through [[Media:CriterionA3_prototypeSolution.doc]]&lt;br /&gt;
* Begin working on your Prototype Solution.  It will be due next Tuesday (10/27/09).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Dossier - Prototype Solution rough draft due Tuesday (11/3/10)&lt;br /&gt;
&lt;br /&gt;
== Monday (10/25/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Turn in your Criteria for Success&lt;br /&gt;
* Grab a Stacks Quiz, you may start immediately&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Stacks Quiz!&lt;br /&gt;
* Criteria for Success peer edit&lt;br /&gt;
* Queueueueueues (Queues)&lt;br /&gt;
** [[Media:Queues.ppt]]&lt;br /&gt;
** [[Media:Queue.java]]&lt;br /&gt;
** [[Media:QueueMain.java]]&lt;br /&gt;
* Fix [[Media:Queue.java]] so that it works. You must fill in all the method bodies&lt;br /&gt;
&lt;br /&gt;
== Thursday (10/21/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# What does LIFO stand for?&lt;br /&gt;
# What data structure does LIFO describe?&lt;br /&gt;
# What is the one location that you worry about in the structure from #2?&lt;br /&gt;
# What are the two actions that you can do in the structure from #2?&lt;br /&gt;
# When would you want to use the structure from #2?&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Array Review&lt;br /&gt;
* Stack Review&lt;br /&gt;
* Queues&lt;br /&gt;
** [[Media:Queues.ppt]]&lt;br /&gt;
** [[Media:Queue.java]]&lt;br /&gt;
** [[Media:QueueMain.java]]&lt;br /&gt;
* Fix [[Media:Queue.java]] so that it works. You must fill in all the method bodies&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Criteria for Success due Monday (10/25/10)&lt;br /&gt;
* Stacks quiz on Monday (10/25/10)&lt;br /&gt;
&lt;br /&gt;
== Tuesday (10/19/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Introduction to Mr. Fowler&lt;br /&gt;
* Field trip debrief&lt;br /&gt;
* Sorting &amp;amp; Searching Review&lt;br /&gt;
** Linear Search&lt;br /&gt;
** Binary Search&lt;br /&gt;
** Selection Sort&lt;br /&gt;
** Bubble Sort&lt;br /&gt;
* Missing assignments&lt;br /&gt;
** Dossier - Analysis of the Problem&lt;br /&gt;
** [[Media:LinearSearch.java]] &lt;br /&gt;
** [[Media:BinarySearch.java]]&lt;br /&gt;
* Analyzing the Problem section - peer edits&lt;br /&gt;
* Criteria for Success&lt;br /&gt;
** [[Media:CriterionA2_criteriaforSuccess.doc]] due Monday (10/25/10)&lt;br /&gt;
* Introduction to Data Structures&lt;br /&gt;
* Stacks&lt;br /&gt;
** [[Media:Stacks.ppt]]&lt;br /&gt;
** [[Media:Stack.java]]&lt;br /&gt;
** [[Media:StackMain.java]]&lt;br /&gt;
** Stacks quiz on Monday (10/25/10)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Criteria for Success due Monday (10/25/10)&lt;br /&gt;
* Stacks quiz on Monday (10/25/10)&lt;br /&gt;
&lt;br /&gt;
== Friday (10/15/20) ==&lt;br /&gt;
* Field trip&lt;br /&gt;
&lt;br /&gt;
== Wednesday (10/13/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Field trip slips!&lt;br /&gt;
* Friday Field Trip - meet in Cafeteria at 8:10AM&lt;br /&gt;
* Demo [[Media:LinearSearch.java]]&lt;br /&gt;
* Demo [[Media:BinarySearch.java]]&lt;br /&gt;
* Introduction to Security&lt;br /&gt;
** Authentication - [[Media:Authentication.ppt]]&lt;br /&gt;
&lt;br /&gt;
== Friday (10/8/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Turn in Analyzing the Problem section&lt;br /&gt;
* What are the steps necessary in order to use a dictionary?&lt;br /&gt;
** Write it out in a text editor.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Peer edit analyzing the problem&lt;br /&gt;
&lt;br /&gt;
* Review of Linear Search&lt;br /&gt;
* Download [[Media:LinearSearch.java]]&lt;br /&gt;
* Fill in the commented parts of LinearSearch.java and demo a working linear search to Mr. Bui&lt;br /&gt;
* Linear Search performance evaluation&lt;br /&gt;
# What is the best case scenario? i.e. What is the minimum # of comparisons?&lt;br /&gt;
# What is the worst case scenario? i.e. What is the maximum # of comparisons?&lt;br /&gt;
# What is the average # of comparisons?&lt;br /&gt;
# Can we do better than a linear search?&lt;br /&gt;
&lt;br /&gt;
* Introduction to Binary Search&lt;br /&gt;
# Assume sorted list&lt;br /&gt;
# Go to the middle point&lt;br /&gt;
# If the middle element matches the key, then the search is over&lt;br /&gt;
# If the key is less than middle element, go to the left (down), else go to the right (up)&lt;br /&gt;
# Repeat steps 2-4 until the key is found or when the left and right bounds pass each other&lt;br /&gt;
&lt;br /&gt;
* [http://euler.slu.edu/~goldwasser/demos/BinarySearch/ Binary Search Demo]&lt;br /&gt;
* [http://www.cosc.canterbury.ac.nz/people/mukundan/dsal/BSearch.html Binary Search Demo2]&lt;br /&gt;
* [[Media:BinarySearch.java]]&lt;br /&gt;
* Binary Search performance evaluation&lt;br /&gt;
# What is the best case scenario? i.e. What is the minimum # of comparisons?&lt;br /&gt;
# What is the worst case scenario? i.e. What is the maximum # of comparisons?&lt;br /&gt;
# What is the average # of comparisons?&lt;br /&gt;
* Binary Search Advantages &amp;amp; Disadvantages&lt;br /&gt;
&lt;br /&gt;
* Use the following [[Media:IBCS2Roster.txt]]&lt;br /&gt;
* Convert [[Media:LinearSearch.java]] and [[Media:BinarySearch.java]] so that it searches for a String name&lt;br /&gt;
&lt;br /&gt;
== Wednesday (10/6/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Pickup 5 playing cards from Mr. Bui&lt;br /&gt;
* Use the BubbleSort algorithm to hand-sort the cards from least to greatest&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Turn in field trip slips.&lt;br /&gt;
* Demo all programs.  Interims are due today.&lt;br /&gt;
* Work on Dossier: Analyzing the Problem&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Analyzing the Problem due Friday (10/8/08)Due Friday (10/8/08)&lt;br /&gt;
* Any missing assignments&lt;br /&gt;
&lt;br /&gt;
== Monday (10/4/10) ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Warmup:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Complete any missing assignments:&lt;br /&gt;
** [[AddressBook class lab assignment]]&lt;br /&gt;
** SelectionSort&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Agenda:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* SelectionSort Review&lt;br /&gt;
* Introduction to Bubble Sort&lt;br /&gt;
# Initialize the front to be the top or beginning of the array&lt;br /&gt;
# Now go to the bottom/end of the array&lt;br /&gt;
# Compare the two adjacent elements to see if they are in proper sequential order&lt;br /&gt;
## Swap the elements if they are out of order (bigger number to the left of smaller number)&lt;br /&gt;
# Move to the next pair of adjacent elements/numbers&lt;br /&gt;
# Repeat steps 3 and 4 until the smallest number has &amp;quot;floated&amp;quot; to the top/front&lt;br /&gt;
# After you traverse the entire array&lt;br /&gt;
## Move the front so that the sorted numbers are ignored&lt;br /&gt;
## Go back to the end of the array&lt;br /&gt;
## Repeat steps 2 through 6 for the unsorted part of the array&lt;br /&gt;
&amp;lt;!--* [http://web.engr.oregonstate.edu/~minoura/cs162/javaProgs/sort/BubbleSort.html Bubble Sort Animation]--&amp;gt;&lt;br /&gt;
* [http://math.hws.edu/TMCM/java/xSortLab/ Sorting Animations]&lt;br /&gt;
* [http://www.cs.pitt.edu/~kirk/cs1501/animations/Sort2.html More Sorting Animations]&lt;br /&gt;
* Download [[Media:BubbleSort.java]]&lt;br /&gt;
** Fill in the commented parts of the BubbleSort.java file. Where there is a comment, you need to write code.&lt;br /&gt;
** Demo to Mr. Bui at the end of class&lt;br /&gt;
* Introduction to the Program Dossier&lt;br /&gt;
** [[Media:CriterionA1_problemAnalysis.doc]]&lt;br /&gt;
** Analyzing the Problem due Friday (10/8/08)&lt;br /&gt;
** Work on your Analyzing the Problem section&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Homework:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Analyzing the Problem due Friday (10/8/10)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>